summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-02-24 03:19:03 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2012-02-24 03:19:03 (GMT)
commit6c5705fec63d83eeb165fe61e34adc92ecc2ce75 (patch)
tree80efef86786d06cba09c3ad72dea2e991afd7e8c /arch/powerpc/include/asm/pci.h
parent39c2462e163448c7df466c7262109ec6a24d5f88 (diff)
downloadlinux-fsl-qoriq-6c5705fec63d83eeb165fe61e34adc92ecc2ce75.tar.xz
powerpc/PCI: get rid of device resource fixups
Tell the PCI core about host bridge address translation so it can take care of bus-to-resource conversion for us. CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/powerpc/include/asm/pci.h')
-rw-r--r--arch/powerpc/include/asm/pci.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h
index f54b3d2..839178b 100644
--- a/arch/powerpc/include/asm/pci.h
+++ b/arch/powerpc/include/asm/pci.h
@@ -154,13 +154,7 @@ extern int pci_mmap_legacy_page_range(struct pci_bus *bus,
#endif /* CONFIG_PPC64 */
-extern void pcibios_resource_to_bus(struct pci_dev *dev,
- struct pci_bus_region *region,
- struct resource *res);
-
-extern void pcibios_bus_to_resource(struct pci_dev *dev,
- struct resource *res,
- struct pci_bus_region *region);
+#define ARCH_HAS_GENERIC_PCI_OFFSETS
extern void pcibios_claim_one_bus(struct pci_bus *b);