]> Git Repo - J-linux.git/commitdiff
thermal/hwmon: Use the thermal_core.h header
authorDaniel Lezcano <[email protected]>
Wed, 1 Mar 2023 20:14:43 +0000 (21:14 +0100)
committerRafael J. Wysocki <[email protected]>
Fri, 3 Mar 2023 19:45:03 +0000 (20:45 +0100)
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]>
drivers/thermal/thermal_hwmon.c

index bc02095b314c95a278e23fa840afeb2b009da97e..c59db17dddd67abec7dfb4ea47b77a56aa3f8ca3 100644 (file)
@@ -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 */
This page took 0.050027 seconds and 4 git commands to generate.