diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/thermal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 03eec380f7f8..2bab7a26db20 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -154,7 +154,7 @@ struct thermal_attr { }; struct sensor_threshold { - int temp; + long temp; enum thermal_trip_type trip; int (*notify)(enum thermal_trip_type type, int temp, void *data); void *data; @@ -164,8 +164,8 @@ struct sensor_threshold { struct sensor_info { uint32_t sensor_id; struct thermal_zone_device *tz; - int threshold_min; - int threshold_max; + long threshold_min; + long threshold_max; int max_idx; int min_idx; struct list_head sensor_list; @@ -450,7 +450,7 @@ 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); int thermal_sensor_trip(struct thermal_zone_device *tz, - enum thermal_trip_type trip, unsigned long temp); + enum thermal_trip_type trip, long temp); #else static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) |
