Skip to content

Commit 2f51d67

Browse files
committed
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 <[email protected]>
1 parent 5a344bb commit 2f51d67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/openrisc/lib/delay.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/kernel.h>
1616
#include <linux/export.h>
1717
#include <linux/init.h>
18+
#include <linux/timex.h>
1819
#include <asm/param.h>
1920
#include <asm/delay.h>
2021
#include <asm/timex.h>

0 commit comments

Comments
 (0)