summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-02-24 04:19:04 +0100
committerBjorn Helgaas <bhelgaas@google.com>2012-02-24 04:19:04 +0100
commitfb127cb9de791d62fb393d6e65fa9869bddd2460 (patch)
tree5cb45ac2fd5139cfc9165fead210a3ad2bb3b2a5 /include/asm-generic/pci.h
parentxtensa/PCI: get rid of device resource fixups (diff)
downloadlinux-fb127cb9de791d62fb393d6e65fa9869bddd2460.tar.xz
linux-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 'include/asm-generic/pci.h')
-rw-r--r--include/asm-generic/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-generic/pci.h b/include/asm-generic/pci.h
index 0410346e2cf6..e80a0495e5b0 100644
--- a/include/asm-generic/pci.h
+++ b/include/asm-generic/pci.h
@@ -6,8 +6,6 @@
#ifndef _ASM_GENERIC_PCI_H
#define _ASM_GENERIC_PCI_H
-#define ARCH_HAS_GENERIC_PCI_OFFSETS
-
static inline struct resource *
pcibios_select_root(struct pci_dev *pdev, struct resource *res)
{