summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBjorn Helgaas2016-06-17 21:43:34 +0200
committerBjorn Helgaas2016-06-17 21:43:34 +0200
commit8221a013528597edc18d371b22667e8eefca599b (patch)
treefba180ad1241e6acb75f4ef93f4d3ce9bff03f01 /arch/powerpc
parentmicroblaze/PCI: Remove useless __pci_mmap_set_pgprot() (diff)
downloadkernel-qcow2-linux-8221a013528597edc18d371b22667e8eefca599b.tar.gz
kernel-qcow2-linux-8221a013528597edc18d371b22667e8eefca599b.tar.xz
kernel-qcow2-linux-8221a013528597edc18d371b22667e8eefca599b.zip
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h
index a6f3ac0d4602..e9bd6cf0212f 100644
--- a/arch/powerpc/include/asm/pci.h
+++ b/arch/powerpc/include/asm/pci.h
@@ -136,9 +136,6 @@ extern pgprot_t pci_phys_mem_access_prot(struct file *file,
pgprot_t prot);
#define HAVE_ARCH_PCI_RESOURCE_TO_USER
-extern void pci_resource_to_user(const struct pci_dev *dev, int bar,
- const struct resource *rsrc,
- resource_size_t *start, resource_size_t *end);
extern resource_size_t pcibios_io_space_offset(struct pci_controller *hose);
extern void pcibios_setup_bus_devices(struct pci_bus *bus);