aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorDurgadoss R <durgadoss.r@intel.com>2012-09-18 01:34:56 -0400
committerZhang Rui <rui.zhang@intel.com>2012-11-05 00:59:57 -0500
commit50125a9b27dd09e9afdc1b8712ba0b3859886c68 (patch)
treedfd4e7ea8eb792fb725a3528ec929125c2432ea3 /include/linux/thermal.h
parentef87394791206019e4e4e04cb746865f2dc115ed (diff)
Thermal: Pass zone parameters as argument to tzd_register
This patch adds the thermal zone parameter as an argument to the tzd_register() function call; and updates other drivers using this function. Signed-off-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/linux/thermal.h')
-rw-r--r--include/linux/thermal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index 4caa32e400b4..58cb1c036a0e 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -200,7 +200,8 @@ struct thermal_genl_event {
200 200
201/* Function declarations */ 201/* Function declarations */
202struct thermal_zone_device *thermal_zone_device_register(const char *, int, int, 202struct thermal_zone_device *thermal_zone_device_register(const char *, int, int,
203 void *, const struct thermal_zone_device_ops *, int, int); 203 void *, const struct thermal_zone_device_ops *,
204 const struct thermal_zone_params *, int, int);
204void thermal_zone_device_unregister(struct thermal_zone_device *); 205void thermal_zone_device_unregister(struct thermal_zone_device *);
205 206
206int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int, 207int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,