summaryrefslogtreecommitdiffstats
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2012-06-27 14:11:52 +0800
committerZhang Rui <rui.zhang@intel.com>2012-09-24 14:44:37 +0800
commitb5e4ae620b06274981781aeadc2aea50b507f7fb (patch)
tree2b0175b36cafe5b753510e6c05cb41ec301f35fc /include/linux/thermal.h
parentcddf31b3b293fd20358ea506f22445611425811f (diff)
downloadlinux-stable-b5e4ae620b06274981781aeadc2aea50b507f7fb.tar.gz
linux-stable-b5e4ae620b06274981781aeadc2aea50b507f7fb.tar.bz2
linux-stable-b5e4ae620b06274981781aeadc2aea50b507f7fb.zip
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/thermal.h')
-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 {
struct device device;
void *devdata;
const struct thermal_cooling_device_ops *ops;
+ struct list_head thermal_instances;
struct list_head node;
};