diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-06-27 08:11:52 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-09-24 08:44:37 +0200 |
commit | b5e4ae620b06274981781aeadc2aea50b507f7fb (patch) | |
tree | 2b0175b36cafe5b753510e6c05cb41ec301f35fc /include | |
parent | Thermal: Rename thermal_instance.node to thermal_instance.tz_node. (diff) | |
download | linux-b5e4ae620b06274981781aeadc2aea50b507f7fb.tar.xz 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')
-rw-r--r-- | include/linux/thermal.h | 1 |
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; }; |