diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2013-05-11 23:48:13 +0100 |
---|---|---|
committer | Peter Robinson <pbrobinson@gmail.com> | 2013-05-11 23:48:13 +0100 |
commit | 35041f525e62af235a58821760a8736801989967 (patch) | |
tree | a3f6ac17db20e3412fa9ea13dbe9b63fd0c0665c /v2-thermal-cpu_cooling-fix-stub-function.patch | |
parent | 2159380bfc7f63c0aa583c4c1106996860745e61 (diff) | |
download | kernel-35041f525e62af235a58821760a8736801989967.tar.gz kernel-35041f525e62af235a58821760a8736801989967.tar.xz kernel-35041f525e62af235a58821760a8736801989967.zip |
Another patch to fix ARM kernel build
Diffstat (limited to 'v2-thermal-cpu_cooling-fix-stub-function.patch')
-rw-r--r-- | v2-thermal-cpu_cooling-fix-stub-function.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/v2-thermal-cpu_cooling-fix-stub-function.patch b/v2-thermal-cpu_cooling-fix-stub-function.patch new file mode 100644 index 000000000..55a5e7c30 --- /dev/null +++ b/v2-thermal-cpu_cooling-fix-stub-function.patch @@ -0,0 +1,22 @@ +diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h +index 282e270..a5d52ee 100644 +--- a/include/linux/cpu_cooling.h ++++ b/include/linux/cpu_cooling.h +@@ -41,7 +41,7 @@ cpufreq_cooling_register(const struct cpumask *clip_cpus); + */ + void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev); + +-unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int); ++unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq); + #else /* !CONFIG_CPU_THERMAL */ + static inline struct thermal_cooling_device * + cpufreq_cooling_register(const struct cpumask *clip_cpus) +@@ -54,7 +54,7 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) + return; + } + static inline +-unsigned long cpufreq_cooling_get_level(unsigned int, unsigned int) ++unsigned long cpufreq_cooling_get_level(unsigned int cpu, unsigned int freq) + { + return THERMAL_CSTATE_INVALID; + } |