]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: fix sparse warnings in leon_pci_grpci1.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:33 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:26 +0000 (01:12 -0400)
commitaf5bb5972f0c6158436e15a2c3314f74fe86b592
tree3e32c3446527bca95e5ce75223af41a50ae9f294
parent5db9d9e571697374c48d3603deff3de0438e78a1
sparc32: fix sparse warnings in leon_pci_grpci1.c

Fix following warnings:
leon_pci_grpci1.c:104:5: warning: symbol 'grpci1_map_irq' was not declared. Should it be static?
leon_pci_grpci1.c:420:6: warning: symbol 'grpci1_hw_init' was not declared. Should it be static?
+ a lot of these:
leon_pci_grpci1.c:693:18: warning: incorrect type in argument 1 (different address spaces)

Added missing static to definitions.
Added __iomem annotations

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/leon_pci_grpci1.c