aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/thermal.h')
-rw-r--r--include/linux/thermal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index 4821735f3e77..4b94a61955df 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -60,6 +60,10 @@ struct thermal_zone_device_ops {
60 unsigned long *); 60 unsigned long *);
61 int (*set_trip_temp) (struct thermal_zone_device *, int, 61 int (*set_trip_temp) (struct thermal_zone_device *, int,
62 unsigned long); 62 unsigned long);
63 int (*get_trip_hyst) (struct thermal_zone_device *, int,
64 unsigned long *);
65 int (*set_trip_hyst) (struct thermal_zone_device *, int,
66 unsigned long);
63 int (*get_crit_temp) (struct thermal_zone_device *, unsigned long *); 67 int (*get_crit_temp) (struct thermal_zone_device *, unsigned long *);
64 int (*notify) (struct thermal_zone_device *, int, 68 int (*notify) (struct thermal_zone_device *, int,
65 enum thermal_trip_type); 69 enum thermal_trip_type);
@@ -98,6 +102,7 @@ struct thermal_zone_device {
98 struct device device; 102 struct device device;
99 struct thermal_attr *trip_temp_attrs; 103 struct thermal_attr *trip_temp_attrs;
100 struct thermal_attr *trip_type_attrs; 104 struct thermal_attr *trip_type_attrs;
105 struct thermal_attr *trip_hyst_attrs;
101 void *devdata; 106 void *devdata;
102 int trips; 107 int trips;
103 int tc1; 108 int tc1;