diff options
author | Daniel Lezcano <[email protected]> | 2023-03-01 21:14:43 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-03-03 20:45:03 +0100 |
commit | ec2c8aae8129753f53501171e73df0a1f910533c (patch) | |
tree | 8315cfbf1692a8bba3452c8f2f9bc3ee53ee248d | |
parent | 0adad0929621e1eb226b46eb3ac322a45da96c3c (diff) |
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 <[email protected]>
Cc: Guenter Roeck <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
-rw-r--r-- | drivers/thermal/thermal_hwmon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c index bc02095b314c..c59db17dddd6 100644 --- a/drivers/thermal/thermal_hwmon.c +++ b/drivers/thermal/thermal_hwmon.c @@ -17,6 +17,7 @@ #include <linux/thermal.h> #include "thermal_hwmon.h" +#include "thermal_core.h" /* hwmon sys I/F */ /* thermal zone devices with the same type share one hwmon device */ |