diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-21 21:39:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-29 07:12:26 +0200 |
commit | 6b5f02f31b5eab6e92060a7396d2773b074e3288 (patch) | |
tree | 9653687fd9b046e1b264674ad2c931ca013b9355 /arch/sparc/kernel/kernel.h | |
parent | sparc32: fix sparse warning in devices.c (diff) | |
download | linux-6b5f02f31b5eab6e92060a7396d2773b074e3288.tar.xz linux-6b5f02f31b5eab6e92060a7396d2773b074e3288.zip |
sparc32: fix sparse warnings in tadpole.c
Fix following warnings:
tadpole.c:21:6: warning: symbol 'cpu_pwr_save' was not declared. Should it be static?
tadpole.c:101:13: warning: symbol 'clock_stop_probe' was not declared. Should it be static?
This actually revealed that cpu_pwr_save is only assigned.
It was left static with a TODO comment for now - this should be cleaned up later.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/kernel.h')
-rw-r--r-- | arch/sparc/kernel/kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h index 7f05d3f65844..487762612224 100644 --- a/arch/sparc/kernel/kernel.h +++ b/arch/sparc/kernel/kernel.h @@ -113,6 +113,9 @@ asmlinkage int do_sys_sigstack(struct sigstack __user *ssptr, /* windows.c */ void try_to_clear_window_buffer(struct pt_regs *regs, int who); +/* tadpole.c */ +void __init clock_stop_probe(void); + #else /* CONFIG_SPARC32 */ #endif /* CONFIG_SPARC32 */ #endif /* !(__SPARC_KERNEL_H) */ |