diff options
author | Stafford Horne <shorne@gmail.com> | 2022-02-06 07:45:59 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2022-05-23 17:15:49 +0900 |
commit | 5a344bbe88bf435bf40e22543b4595d6e6cb6556 (patch) | |
tree | ff933b94d2716e8203d6b3a7d575a887c091dfaf /arch/openrisc/lib/delay.c | |
parent | 024b58f3d92de2d19e2222f841c103127ee54684 (diff) | |
download | linux-5a344bbe88bf435bf40e22543b4595d6e6cb6556.tar.bz2 |
openrisc/time: Fix symbol scope warnings
Spare reported the following warnings:
arch/openrisc/kernel/time.c:64:1: warning: symbol 'clockevent_openrisc_timer' was not declared. Should it be static?
arch/openrisc/kernel/time.c:66:6: warning: symbol 'openrisc_clockevent_init' was not declared. Should it be static?
This patch fixes by:
- Add static declaration to clockevent_openrisc_timer as it's used only in
this file.
- Add include for asm/time.h for openrisc_clockevent_init declaration.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/lib/delay.c')
0 files changed, 0 insertions, 0 deletions