openrisc/delay: Add include to fix symbol not declared warning
authorStafford Horne <shorne@gmail.com>
Sat, 5 Feb 2022 22:52:24 +0000 (07:52 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 23 May 2022 08:15:49 +0000 (17:15 +0900)
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>
arch/openrisc/lib/delay.c

index 036ae57180ef2c42e762bc45db45cc509994920b..5e89e4131304594fb360931f3ff145ea6257f8a6 100644 (file)
@@ -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>