aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/thermal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index 4b94a61955df..5946a3b90bb2 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -75,6 +75,8 @@ struct thermal_cooling_device_ops {
75 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long); 75 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long);
76}; 76};
77 77
78#define THERMAL_NO_LIMIT -1UL /* no upper/lower limit requirement */
79
78#define THERMAL_TRIPS_NONE -1 80#define THERMAL_TRIPS_NONE -1
79#define THERMAL_MAX_TRIPS 12 81#define THERMAL_MAX_TRIPS 12
80#define THERMAL_NAME_LENGTH 20 82#define THERMAL_NAME_LENGTH 20
@@ -157,7 +159,8 @@ struct thermal_zone_device *thermal_zone_device_register(const char *, int, int,
157void thermal_zone_device_unregister(struct thermal_zone_device *); 159void thermal_zone_device_unregister(struct thermal_zone_device *);
158 160
159int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int, 161int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,
160 struct thermal_cooling_device *); 162 struct thermal_cooling_device *,
163 unsigned long, unsigned long);
161int thermal_zone_unbind_cooling_device(struct thermal_zone_device *, int, 164int thermal_zone_unbind_cooling_device(struct thermal_zone_device *, int,
162 struct thermal_cooling_device *); 165 struct thermal_cooling_device *);
163void thermal_zone_device_update(struct thermal_zone_device *); 166void thermal_zone_device_update(struct thermal_zone_device *);