diff options
author | Zhang Rui <rui.zhang@intel.com> | 2012-06-27 14:11:52 +0800 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-09-24 14:44:37 +0800 |
commit | b5e4ae620b06274981781aeadc2aea50b507f7fb (patch) | |
tree | 2b0175b36cafe5b753510e6c05cb41ec301f35fc /include/linux/thermal.h | |
parent | cddf31b3b293fd20358ea506f22445611425811f (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/thermal.h')
-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; }; |