From: Daniel Lezcano Date: Wed, 1 Mar 2023 20:14:43 +0000 (+0100) Subject: thermal/hwmon: Use the thermal_core.h header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ec2c8aae8129753f53501171e73df0a1f910533c;p=linux.git 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 Cc: Guenter Roeck Signed-off-by: Daniel Lezcano Acked-by: Guenter Roeck Reviewed-by: Jean Delvare Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c index bc02095b314c9..c59db17dddd67 100644 --- a/drivers/thermal/thermal_hwmon.c +++ b/drivers/thermal/thermal_hwmon.c @@ -17,6 +17,7 @@ #include #include "thermal_hwmon.h" +#include "thermal_core.h" /* hwmon sys I/F */ /* thermal zone devices with the same type share one hwmon device */