mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
529b17a9d3
commit
c31f76518e
2 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue