diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-03-30 13:45:25 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-09 01:18:42 +0200 |
commit | 7e67e239a4f32fa3e2d51dd9a7930018651635b6 (patch) | |
tree | e0962a9e66b666c1ccfd0af78562be9964ec73a0 | |
parent | f3f24dea2c7fd949377dc512fe1bfd0b7419afa3 (diff) | |
download | linux-rt-7e67e239a4f32fa3e2d51dd9a7930018651635b6.tar.gz |
cpufreq: dt: Include types.h from cpufreq-dt.h
cpufreq-dt.h uses 'bool' data type but doesn't include types.h. It works
fine for now as the files that include cpufreq-dt.h, also include
types.h directly or indirectly.
But, when a file includes cpufreq-dt.h without including types.h, we get
a build error. Avoid such errors by including types.h in cpufreq-dt
itself.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | include/linux/cpufreq-dt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cpufreq-dt.h b/include/linux/cpufreq-dt.h index 0414009e2c30..a87335a1660c 100644 --- a/include/linux/cpufreq-dt.h +++ b/include/linux/cpufreq-dt.h @@ -10,6 +10,8 @@ #ifndef __CPUFREQ_DT_H__ #define __CPUFREQ_DT_H__ +#include <linux/types.h> + struct cpufreq_dt_platform_data { /* * True when each CPU has its own clock to control its |