|
@@ -57,6 +57,9 @@ struct thermal_instance {
|
|
|
#define to_thermal_zone(_dev) \
|
|
|
container_of(_dev, struct thermal_zone_device, device)
|
|
|
|
|
|
+#define to_cooling_device(_dev) \
|
|
|
+ container_of(_dev, struct thermal_cooling_device, device)
|
|
|
+
|
|
|
int thermal_register_governor(struct thermal_governor *);
|
|
|
void thermal_unregister_governor(struct thermal_governor *);
|
|
|
void thermal_zone_device_rebind_exception(struct thermal_zone_device *,
|