Skip to content

Commit ec2c8aa

Browse files
dlezcanorafaeljw
authored andcommitted
thermal/hwmon: Use the thermal_core.h header
The thermal_hwmon is playing with the thermal core code internals. Changing the code would be too invasive for now. We can consider the thermal_hwmon.c is part of the thermal core code as it provides a glue to tie the hwmon and the thermal zones. Let's include the thermal_core.h header. No functional change intended. Cc: Jean Delvare <jdelvare@suse.com> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0adad09 commit ec2c8aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/thermal/thermal_hwmon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/thermal.h>
1818

1919
#include "thermal_hwmon.h"
20+
#include "thermal_core.h"
2021

2122
/* hwmon sys I/F */
2223
/* thermal zone devices with the same type share one hwmon device */

0 commit comments

Comments
 (0)