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)
commit2f51d67e42a2b6e69d66a1b71cf06fac976177b5
tree801498b1b61a73578692992532716852789da73b
parent5a344bbe88bf435bf40e22543b4595d6e6cb6556
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>
arch/openrisc/lib/delay.c