aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/cpu_cooling.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c
index 2d94ffa3230d..34d807bc5c3f 100644
--- a/drivers/thermal/cpu_cooling.c
+++ b/drivers/thermal/cpu_cooling.c
@@ -141,7 +141,8 @@ enum cpufreq_cooling_property {
141 * Return: 0 on success, -EINVAL when invalid parameters are passed. 141 * Return: 0 on success, -EINVAL when invalid parameters are passed.
142 */ 142 */
143static int get_property(unsigned int cpu, unsigned long input, 143static int get_property(unsigned int cpu, unsigned long input,
144 unsigned int* output, enum cpufreq_cooling_property property) 144 unsigned int *output,
145 enum cpufreq_cooling_property property)
145{ 146{
146 int i, j; 147 int i, j;
147 unsigned long max_level = 0, level = 0; 148 unsigned long max_level = 0, level = 0;