summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2011-11-11 18:45:15 +0800
committerAnson Huang <b20788@freescale.com>2011-11-14 15:23:09 +0800
commit43b3e877bb8236823df9f17540e2ec7d400f24ab (patch)
tree09e8b709ddf50ced476a5bb63f64b0c976ddf6c1 /include
parentd52774697512cfdca52855811d1d64aa6f35c519 (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 *,