summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2022-02-05 23:52:24 +0100
committerStafford Horne <shorne@gmail.com>2022-05-23 10:15:49 +0200
commit2f51d67e42a2b6e69d66a1b71cf06fac976177b5 (patch)
tree801498b1b61a73578692992532716852789da73b /arch/openrisc
parentopenrisc/time: Fix symbol scope warnings (diff)
downloadlinux-2f51d67e42a2b6e69d66a1b71cf06fac976177b5.tar.xz
linux-2f51d67e42a2b6e69d66a1b71cf06fac976177b5.zip
openrisc/delay: Add include to fix symbol not declared warning
Add asm/timex.h include for read_current_timer prototype. Sparse reporting the following warning: arch/openrisc/lib/delay.c:23:5: warning: symbol 'read_current_timer' was not declared. Should it be static? Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/lib/delay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/lib/delay.c b/arch/openrisc/lib/delay.c
index 036ae57180ef..5e89e4131304 100644
--- a/arch/openrisc/lib/delay.c
+++ b/arch/openrisc/lib/delay.c
@@ -15,6 +15,7 @@
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/init.h>
+#include <linux/timex.h>
#include <asm/param.h>
#include <asm/delay.h>
#include <asm/timex.h>