summaryrefslogtreecommitdiff
path: root/arch/sparc/mm/init_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-21 23:39:31 +0400
committerDavid S. Miller <davem@davemloft.net>2014-04-29 09:12:26 +0400
commit8885ec7ca9db1bef558c7bb913829b8fa2d7e1d3 (patch)
treebd42261cdd7e8d5f426af7cb1244119fb3cd49b3 /arch/sparc/mm/init_32.c
parentfd250a664d35d6eb3e09694419c2ee16f23d536a (diff)
downloadlinux-8885ec7ca9db1bef558c7bb913829b8fa2d7e1d3.tar.xz
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/mm/init_32.c')
-rw-r--r--arch/sparc/mm/init_32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c
index d0c732727f44..eb8287155279 100644
--- a/arch/sparc/mm/init_32.c
+++ b/arch/sparc/mm/init_32.c
@@ -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();