diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2016-06-17 15:43:34 -0400 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-06-17 15:43:34 -0400 |
| commit | 8221a013528597edc18d371b22667e8eefca599b (patch) | |
| tree | fba180ad1241e6acb75f4ef93f4d3ce9bff03f01 /arch/microblaze | |
| parent | c444a2be22144d23dae10821868e6073d3e3ef29 (diff) | |
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/microblaze')
| -rw-r--r-- | arch/microblaze/include/asm/pci.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index fc3ecb55f1b2..2a120bb70e54 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h | |||
| @@ -82,9 +82,6 @@ extern pgprot_t pci_phys_mem_access_prot(struct file *file, | |||
| 82 | pgprot_t prot); | 82 | pgprot_t prot); |
| 83 | 83 | ||
| 84 | #define HAVE_ARCH_PCI_RESOURCE_TO_USER | 84 | #define HAVE_ARCH_PCI_RESOURCE_TO_USER |
| 85 | extern void pci_resource_to_user(const struct pci_dev *dev, int bar, | ||
| 86 | const struct resource *rsrc, | ||
| 87 | resource_size_t *start, resource_size_t *end); | ||
| 88 | 85 | ||
| 89 | extern void pcibios_setup_bus_devices(struct pci_bus *bus); | 86 | extern void pcibios_setup_bus_devices(struct pci_bus *bus); |
| 90 | extern void pcibios_setup_bus_self(struct pci_bus *bus); | 87 | extern void pcibios_setup_bus_self(struct pci_bus *bus); |
