Skip to content

Commit

Permalink
openrisc/delay: Add include to fix symbol not declared warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stffrdhrn committed May 23, 2022
1 parent 5a344bb commit 2f51d67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/openrisc/lib/delay.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2f51d67

Please sign in to comment.