projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c5b36
)
ARM: 8913/1: arch_timer: include <asm/arch_timer.h>
author
Ben Dooks
<ben-linux@fluff.org>
Mon, 7 Oct 2019 13:56:40 +0000
(14:56 +0100)
committer
Russell 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
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/arch_timer.c
b/arch/arm/kernel/arch_timer.c
index c125582de2e7a5ecf27c71d7a39ad9d8978d63a1..b5e217907686823c3ec2abc0bee43d6b89786fae 100644
(file)
--- 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>