summaryrefslogtreecommitdiffstats
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorZhang Rui2012-06-27 08:11:52 +0200
committerZhang Rui2012-09-24 08:44:37 +0200
commitb5e4ae620b06274981781aeadc2aea50b507f7fb (patch)
tree2b0175b36cafe5b753510e6c05cb41ec301f35fc /include/linux/thermal.h
parentThermal: Rename thermal_instance.node to thermal_instance.tz_node. (diff)
downloadkernel-qcow2-linux-b5e4ae620b06274981781aeadc2aea50b507f7fb.tar.gz
kernel-qcow2-linux-b5e4ae620b06274981781aeadc2aea50b507f7fb.tar.xz
kernel-qcow2-linux-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;
};