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>
This commit is contained in:
Sam Ravnborg
2014-04-21 21:39:31 +02:00
committed by David S. Miller
parent fd250a664d
commit 8885ec7ca9
3 changed files with 4 additions and 2 deletions

View File

@@ -248,8 +248,6 @@ unsigned long __init bootmem_init(unsigned long *pages_avail)
* init routine based upon the Sun model type on the Sparc.
*
*/
extern void device_scan(void);
void __init paging_init(void)
{
srmmu_paging_init();