PCI: Unify pci_resource_to_user() declarations
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jun 2016 19:43:34 +0000 (14:43 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Jun 2016 19:43:34 +0000 (14:43 -0500)
commit8221a013528597edc18d371b22667e8eefca599b
treefba180ad1241e6acb75f4ef93f4d3ce9bff03f01
parentc444a2be22144d23dae10821868e6073d3e3ef29
PCI: Unify pci_resource_to_user() declarations

Replace the pci_resource_to_user() declarations in each arch that defines
HAVE_ARCH_PCI_RESOURCE_TO_USER with a single one in linux/pci.h.

Change the MIPS static inline implementation to a non-inline version so the
static inline doesn't conflict with the new non-static linux/pci.h
declaration.

No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/microblaze/include/asm/pci.h
arch/mips/include/asm/pci.h
arch/mips/pci/pci.c
arch/powerpc/include/asm/pci.h
arch/sparc/include/asm/pci_64.h
include/linux/pci.h