aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2012-06-27 02:11:52 -0400
committerZhang Rui <rui.zhang@intel.com>2012-09-24 02:44:37 -0400
commitb5e4ae620b06274981781aeadc2aea50b507f7fb (patch)
tree2b0175b36cafe5b753510e6c05cb41ec301f35fc /include/linux
parentcddf31b3b293fd20358ea506f22445611425811f (diff)
Thermal: List thermal_instance in thermal_cooling_device.
List thermal_instance in thermal_cooling_device so that cooling device can know the cooling state requirement of all the thermal instances. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl> Reviewed-by: Eduardo Valentin <eduardo.valentin@ti.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/thermal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index cb0b0e3ffd97..9ae378a4a555 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -94,6 +94,7 @@ struct thermal_cooling_device {
94 struct device device; 94 struct device device;
95 void *devdata; 95 void *devdata;
96 const struct thermal_cooling_device_ops *ops; 96 const struct thermal_cooling_device_ops *ops;
97 struct list_head thermal_instances;
97 struct list_head node; 98 struct list_head node;
98}; 99};
99 100