diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 20:19:04 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-02-23 20:19:04 -0700 |
commit | fb127cb9de791d62fb393d6e65fa9869bddd2460 (patch) | |
tree | 5cb45ac2fd5139cfc9165fead210a3ad2bb3b2a5 /arch/sparc | |
parent | 4ba2aef3157f483fd67ac2616f14dbc32a3f751d (diff) | |
download | linux-3.10-fb127cb9de791d62fb393d6e65fa9869bddd2460.tar.gz linux-3.10-fb127cb9de791d62fb393d6e65fa9869bddd2460.tar.bz2 linux-3.10-fb127cb9de791d62fb393d6e65fa9869bddd2460.zip |
PCI: collapse pcibios_resource_to_bus
Everybody uses the generic pcibios_resource_to_bus() supplied by the core
now, so remove the ARCH_HAS_GENERIC_PCI_OFFSETS used during conversion.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/pci_32.h | 2 | ||||
-rw-r--r-- | arch/sparc/include/asm/pci_64.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/pci_32.h b/arch/sparc/include/asm/pci_32.h index 6384f30429b..dc503297481 100644 --- a/arch/sparc/include/asm/pci_32.h +++ b/arch/sparc/include/asm/pci_32.h @@ -52,8 +52,6 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev, * 64Kbytes by the Host controller. */ -#define ARCH_HAS_GENERIC_PCI_OFFSETS - static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) { return PCI_IRQ_NONE; diff --git a/arch/sparc/include/asm/pci_64.h b/arch/sparc/include/asm/pci_64.h index 2918bd12c19..1633b718d3b 100644 --- a/arch/sparc/include/asm/pci_64.h +++ b/arch/sparc/include/asm/pci_64.h @@ -73,8 +73,6 @@ extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, enum pci_mmap_state mmap_state, int write_combine); -#define ARCH_HAS_GENERIC_PCI_OFFSETS - static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) { return PCI_IRQ_NONE; |