diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-21 21:39:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-29 01:12:26 -0400 |
commit | 8885ec7ca9db1bef558c7bb913829b8fa2d7e1d3 (patch) | |
tree | bd42261cdd7e8d5f426af7cb1244119fb3cd49b3 /arch/sparc/include | |
parent | fd250a664d35d6eb3e09694419c2ee16f23d536a (diff) | |
download | linux-8885ec7ca9db1bef558c7bb913829b8fa2d7e1d3.tar.gz linux-8885ec7ca9db1bef558c7bb913829b8fa2d7e1d3.tar.bz2 linux-8885ec7ca9db1bef558c7bb913829b8fa2d7e1d3.zip |
sparc32: fix sparse warning in devices.c
Fix following warning:
devices.c:114:13: warning: symbol 'device_scan' was not declared. Should it be static?
Add prototype to asm/setup.h
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/setup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/setup.h b/arch/sparc/include/asm/setup.h index c7cd435f919f..622145bf2e9a 100644 --- a/arch/sparc/include/asm/setup.h +++ b/arch/sparc/include/asm/setup.h @@ -39,6 +39,9 @@ int sparc_floppy_request_irq(unsigned int irq, irq_handler_t irq_handler); /* setup_32.c */ extern unsigned long cmdline_memory_size; +/* devices.c */ +void __init device_scan(void); + #endif extern void sun_do_break(void); |