diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2014-04-21 23:39:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-29 09:12:25 +0400 |
commit | c31f76518e3b3d755a24db43e556869cafce6d64 (patch) | |
tree | 84c809fd5539306328c4b1f30399cd8c43c3cdbb /arch/sparc/include/asm/pgalloc_32.h | |
parent | 529b17a9d3346b6e9063681e71748261342accbc (diff) | |
download | linux-c31f76518e3b3d755a24db43e556869cafce6d64.tar.xz |
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/asm/pgalloc_32.h')
-rw-r--r-- | arch/sparc/include/asm/pgalloc_32.h | 2 |
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); |