diff mbox series

[4/4] arm: arch_timer: include <asm/arch_timer.h>

Message ID 20190925141604.23364-4-ben.dooks@codethink.co.uk (mailing list archive)
State Mainlined
Commit 05b1fd8b0682ee71fe236e3fcc7ab2ef25b57798
Headers show
Series [1/4] arm: make unexported items static | expand

Commit Message

Ben Dooks Sept. 25, 2019, 2:16 p.m. UTC
The arch_timer_arch_init is defined in <asm/arch_timer.h> so include
that to fix the following sparse error:

arch/arm/kernel/arch_timer.c:31:12: warning: symbol 'arch_timer_arch_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
 arch/arm/kernel/arch_timer.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/kernel/arch_timer.c b/arch/arm/kernel/arch_timer.c
index c125582de2e7..b5e217907686 100644
--- a/arch/arm/kernel/arch_timer.c
+++ b/arch/arm/kernel/arch_timer.c
@@ -10,6 +10,7 @@ 
 #include <linux/errno.h>
 
 #include <asm/delay.h>
+#include <asm/arch_timer.h>
 
 #include <clocksource/arm_arch_timer.h>