sparc64: Fix sparse warnings in pci.c
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:57:40 +0000 (23:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 06:57:40 +0000 (23:57 -0700)
commit77d10d0e63dcc4f961cb416447d64281300e5a01
tree5dc062f62bf8fbe394ac1930030c407c4d2f018a
parent21cd8833933ef20a0bbb368ea00876cbfc06141b
sparc64: Fix sparse warnings in pci.c

1) Declare pci_poke_* in pci_impl.h
2) of_create_pci_dev() should be static
3) ->setup_msi_irq() wants an unsigned int pointer not a plain
   int one
4) void value expression return in arch_teardown_msi_irq()

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci.c
arch/sparc64/kernel/pci_impl.h
arch/sparc64/kernel/traps.c