From: Rob Herring Date: Mon, 9 Oct 2023 19:45:08 +0000 (-0500) Subject: thermal: loongson2: Replace of_device.h with explicit includes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ed7dafcc5364d5ff1ac85d7b18bf9a00ff28b6f8;p=linux.git thermal: loongson2: Replace of_device.h with explicit includes The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. of_device.h isn't needed, but mod_devicetable.h and property.h were implicitly included. Signed-off-by: Rob Herring --- diff --git a/drivers/thermal/loongson2_thermal.c b/drivers/thermal/loongson2_thermal.c index 99ca0c7bc41c7..0f475fe46bc9d 100644 --- a/drivers/thermal/loongson2_thermal.c +++ b/drivers/thermal/loongson2_thermal.c @@ -8,9 +8,10 @@ #include #include #include +#include #include -#include #include +#include #include #include #include "thermal_hwmon.h"