From: Rob Herring Date: Wed, 29 Mar 2023 15:52:08 +0000 (-0500) Subject: clocksource: ingenic: Add explicit include for cpuhotplug.h X-Git-Tag: v6.6.7~2994^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd08b691615f342b3a10468ee8e182a3707041cc;p=platform%2Fkernel%2Flinux-starfive.git clocksource: ingenic: Add explicit include for cpuhotplug.h Removing include of cpu.h from of_device.h (included by of_platform.h) causes an error in ingenic-timer: drivers/clocksource/ingenic-timer.c: In function ‘ingenic_tcu_init’: drivers/clocksource/ingenic-timer.c:338:15: error: implicit declaration of function ‘cpuhp_setup_state’ The of_platform.h header is not necessary either, so it and of_address.h can be dropped. Acked-by: Daniel Lezcano Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-11-581e2605fe47@kernel.org Signed-off-by: Rob Herring --- diff --git a/drivers/clocksource/ingenic-timer.c b/drivers/clocksource/ingenic-timer.c index 24ed0f1..089ce64 100644 --- a/drivers/clocksource/ingenic-timer.c +++ b/drivers/clocksource/ingenic-timer.c @@ -9,13 +9,12 @@ #include #include #include +#include #include #include #include #include -#include #include -#include #include #include #include