diff options
Diffstat (limited to 'include/linux/thermal.h')
-rw-r--r-- | include/linux/thermal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 34016d986815..e7f3180bcb95 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -165,8 +165,8 @@ struct sensor_threshold { struct sensor_info { uint32_t sensor_id; struct thermal_zone_device *tz; - long threshold_min; - long threshold_max; + int threshold_min; + int threshold_max; int max_idx; int min_idx; struct list_head sensor_list; @@ -450,7 +450,7 @@ struct thermal_instance *get_thermal_instance(struct thermal_zone_device *, void thermal_cdev_update(struct thermal_cooling_device *); void thermal_notify_framework(struct thermal_zone_device *, int); -int sensor_get_temp(uint32_t sensor_id, long *temp); +int sensor_get_temp(uint32_t sensor_id, int *temp); int sensor_get_id(char *name); int sensor_set_trip(uint32_t sensor_id, struct sensor_threshold *threshold); int sensor_cancel_trip(uint32_t sensor_id, struct sensor_threshold *threshold); |