diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-21 15:39:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-29 01:12:25 -0400 |
commit | a2b0aa9463143051b0832f6355cdc81168876b32 (patch) | |
tree | f1d2544258990bf5097a2c308587590fbc20f99a /arch/sparc/mm/srmmu.c | |
parent | e8c29c839b5c9f6704c7105e1248b476e8f4c04e (diff) |
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>
Diffstat (limited to 'arch/sparc/mm/srmmu.c')
-rw-r--r-- | arch/sparc/mm/srmmu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index 4639d8e9c48b..be65f035d18a 100644 --- a/arch/sparc/mm/srmmu.c +++ b/arch/sparc/mm/srmmu.c | |||
@@ -1769,9 +1769,6 @@ static struct sparc32_cachetlb_ops smp_cachetlb_ops = { | |||
1769 | /* Load up routines and constants for sun4m and sun4d mmu */ | 1769 | /* Load up routines and constants for sun4m and sun4d mmu */ |
1770 | void __init load_mmu(void) | 1770 | void __init load_mmu(void) |
1771 | { | 1771 | { |
1772 | extern void ld_mmu_iommu(void); | ||
1773 | extern void ld_mmu_iounit(void); | ||
1774 | |||
1775 | /* Functions */ | 1772 | /* Functions */ |
1776 | get_srmmu_type(); | 1773 | get_srmmu_type(); |
1777 | 1774 | ||