summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/lib/delay.c
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2022-02-06 07:52:24 +0900
committerStafford Horne <shorne@gmail.com>2022-05-23 17:15:49 +0900
commit2f51d67e42a2b6e69d66a1b71cf06fac976177b5 (patch)
tree801498b1b61a73578692992532716852789da73b /arch/openrisc/lib/delay.c
parent5a344bbe88bf435bf40e22543b4595d6e6cb6556 (diff)
downloadlinux-2f51d67e42a2b6e69d66a1b71cf06fac976177b5.tar.bz2
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/lib/delay.c')
-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>