summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2011-11-11 18:45:15 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:06:26 +0800
commitb102293077c83fd0b9e5a360254d3dba6d71f1cc (patch)
tree626dfdc7688caeed3cbc04a8809ec9bdc40b7257 /include
parent95b0fed2c8b69afd36d7445af2e6953dd408fbd6 (diff)
ENGR00162010-2 [Thermal]Add calibration to thermal
1. Read calibration from fuse to adjust formula for thermal driver; 2. For the parts that didn't contain valid calibration data, cooling device will be disabled; Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/thermal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index b7c80e19b7b1..5269d34c5a04 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -50,7 +50,7 @@ struct thermal_zone_device_ops {
struct thermal_cooling_device *);
int (*unbind) (struct thermal_zone_device *,
struct thermal_cooling_device *);
- int (*get_temp) (struct thermal_zone_device *, unsigned long *);
+ int (*get_temp) (struct thermal_zone_device *, long *);
int (*get_mode) (struct thermal_zone_device *,
enum thermal_device_mode *);
int (*set_mode) (struct thermal_zone_device *,