ARM: 8913/1: arch_timer: include <asm/arch_timer.h>
authorBen Dooks <ben-linux@fluff.org>
Mon, 7 Oct 2019 13:56:40 +0000 (14:56 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sun, 27 Oct 2019 21:14:43 +0000 (21:14 +0000)
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>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/arch_timer.c

index c125582de2e7a5ecf27c71d7a39ad9d8978d63a1..b5e217907686823c3ec2abc0bee43d6b89786fae 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/errno.h>
 
 #include <asm/delay.h>
+#include <asm/arch_timer.h>
 
 #include <clocksource/arm_arch_timer.h>