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 | 10d1cd2ba8f2f2f19ad20a38e07d91e87c40795c (patch) | |
tree | 6e01d8f48c14afe8b15440c289aca9e91c84d21f /arch/ia64/include | |
parent | f920b55de413538d2cfccd6de2c9b39efd2593cc (diff) |
ia64/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: Tony Luck <tony.luck@intel.com>
CC: Jack Steiner <steiner@sgi.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/pci.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/ia64/include/asm/pci.h b/arch/ia64/include/asm/pci.h index 279b38ae74aa..519bb5ce3075 100644 --- a/arch/ia64/include/asm/pci.h +++ b/arch/ia64/include/asm/pci.h | |||
@@ -108,11 +108,7 @@ static inline int pci_proc_domain(struct pci_bus *bus) | |||
108 | return (pci_domain_nr(bus) != 0); | 108 | return (pci_domain_nr(bus) != 0); |
109 | } | 109 | } |
110 | 110 | ||
111 | extern void pcibios_resource_to_bus(struct pci_dev *dev, | 111 | #define ARCH_HAS_GENERIC_PCI_OFFSETS |
112 | struct pci_bus_region *region, struct resource *res); | ||
113 | |||
114 | extern void pcibios_bus_to_resource(struct pci_dev *dev, | ||
115 | struct resource *res, struct pci_bus_region *region); | ||
116 | 112 | ||
117 | static inline struct resource * | 113 | static inline struct resource * |
118 | pcibios_select_root(struct pci_dev *pdev, struct resource *res) | 114 | pcibios_select_root(struct pci_dev *pdev, struct resource *res) |