diff options
author | Ben Dooks <[email protected]> | 2022-07-14 08:18:11 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-08-11 13:06:47 -0700 |
commit | da6d2128e56a50a0d497c8e41ca1d33d88bcc0aa (patch) | |
tree | 3810c7c174c254585b859ae853a468c036cb5030 /drivers/usb/cdns3/cdnsp-debug.h | |
parent | a208acf0eac857dc8cdaddd63a4e18ed03f91786 (diff) |
RISC-V: Declare cpu_ops_spinwait in <asm/cpu_ops.h>
The cpu_ops_spinwait is used in a couple of places in arch/riscv
and is causing a sparse warning due to no declaration. Add this
to <asm/cpu_ops.h> with the others to fix the following:
arch/riscv/kernel/cpu_ops_spinwait.c:16:29: warning: symbol 'cpu_ops_spinwait' was not declared. Should it be static?
Signed-off-by: Ben Dooks <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[Palmer: Drop the extern from cpu_ops.c]
Fixes: 2ffc48fc7071 ("RISC-V: Move spinwait booting method to its own config")
Cc: [email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions