]> git.karo-electronics.de Git - linux-beck.git/commit
sparc32: fix sparse "Should it be static?" in mm/
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:20 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:25 +0000 (01:12 -0400)
commita2b0aa9463143051b0832f6355cdc81168876b32
treef1d2544258990bf5097a2c308587590fbc20f99a
parente8c29c839b5c9f6704c7105e1248b476e8f4c04e
sparc32: fix sparse "Should it be static?" in mm/

Fix following warnings:
srmmu.c:870:13: warning: symbol 'srmmu_paging_init' was not declared. Should it be static?
iommu.c:430:13: warning: symbol 'ld_mmu_iommu' was not declared. Should it be static?
leon_mm.c:21:5: warning: symbol 'srmmu_swprobe_trace' was not declared. Should it be static?

Add proper prototypes or define static to fix them.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/leon_mm.c
arch/sparc/mm/mm_32.h
arch/sparc/mm/srmmu.c