diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 22:19:02 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 22:19:02 -0500 |
commit | aa23bdc0a8a29029ac4c89163a4b63a029580720 (patch) | |
tree | 14d728b6be3d3266e38d38b73bcb017f3175b31e /arch/microblaze/include | |
parent | 10d1cd2ba8f2f2f19ad20a38e07d91e87c40795c (diff) |
microblaze/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: Michal Simek <monstr@monstr.eu>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 033137628e8a..8db01f705b3c 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h | |||
@@ -94,13 +94,7 @@ extern int pci_mmap_legacy_page_range(struct pci_bus *bus, | |||
94 | */ | 94 | */ |
95 | #define PCI_DMA_BUS_IS_PHYS (1) | 95 | #define PCI_DMA_BUS_IS_PHYS (1) |
96 | 96 | ||
97 | extern void pcibios_resource_to_bus(struct pci_dev *dev, | 97 | #define ARCH_HAS_GENERIC_PCI_OFFSETS |
98 | struct pci_bus_region *region, | ||
99 | struct resource *res); | ||
100 | |||
101 | extern void pcibios_bus_to_resource(struct pci_dev *dev, | ||
102 | struct resource *res, | ||
103 | struct pci_bus_region *region); | ||
104 | 98 | ||
105 | static inline struct resource *pcibios_select_root(struct pci_dev *pdev, | 99 | static inline struct resource *pcibios_select_root(struct pci_dev *pdev, |
106 | struct resource *res) | 100 | struct resource *res) |