summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/ingenic-timer.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-29 10:52:08 -0500
committerRob Herring <robh@kernel.org>2023-04-13 17:46:34 -0500
commitbd08b691615f342b3a10468ee8e182a3707041cc (patch)
tree324457b9571600f74513c5851c127893e1424e44 /drivers/clocksource/ingenic-timer.c
parentb9581552b0b94586fa7296613a5d8a4a63e801be (diff)
downloadlinux-bd08b691615f342b3a10468ee8e182a3707041cc.tar.gz
linux-bd08b691615f342b3a10468ee8e182a3707041cc.tar.bz2
linux-bd08b691615f342b3a10468ee8e182a3707041cc.zip
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 <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-11-581e2605fe47@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/clocksource/ingenic-timer.c')
-rw-r--r--drivers/clocksource/ingenic-timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clocksource/ingenic-timer.c b/drivers/clocksource/ingenic-timer.c
index 24ed0f1f089b..089ce64b1c3f 100644
--- a/drivers/clocksource/ingenic-timer.c
+++ b/drivers/clocksource/ingenic-timer.c
@@ -9,13 +9,12 @@
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
+#include <linux/cpuhotplug.h>
#include <linux/interrupt.h>
#include <linux/mfd/ingenic-tcu.h>
#include <linux/mfd/syscon.h>
#include <linux/of.h>
-#include <linux/of_address.h>
#include <linux/of_irq.h>
-#include <linux/of_platform.h>
#include <linux/overflow.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>