aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-21 21:39:27 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-29 01:12:25 -0400
commitc31f76518e3b3d755a24db43e556869cafce6d64 (patch)
tree84c809fd5539306328c4b1f30399cd8c43c3cdbb /arch/sparc/include
parentsparc32: fix sparse warnings in signal_32.c (diff)
downloadlinux-dev-c31f76518e3b3d755a24db43e556869cafce6d64.tar.xz
linux-dev-c31f76518e3b3d755a24db43e556869cafce6d64.zip
sparc32: fix sparse warnings in ioport.c
Fix following warnings: ioport.c:189:38: warning: Using plain integer as NULL pointer ioport.c:78:25: warning: symbol 'sparc_iomap' was not declared. Should it be static? ioport.c:403:20: warning: symbol 'sbus_dma_ops' was not declared. Should it be static? ioport.c:684:39: warning: Using plain integer as NULL pointer Add one missing prototype, and use NULL. sbus_dma_ops declared static. 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/pgalloc_32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/pgalloc_32.h b/arch/sparc/include/asm/pgalloc_32.h
index 9b1c36de0f18..a3890da94428 100644
--- a/arch/sparc/include/asm/pgalloc_32.h
+++ b/arch/sparc/include/asm/pgalloc_32.h
@@ -14,6 +14,8 @@ struct page;
void *srmmu_get_nocache(int size, int align);
void srmmu_free_nocache(void *addr, int size);
+extern struct resource sparc_iomap;
+
#define check_pgt_cache() do { } while (0)
pgd_t *get_pgd_fast(void);