summaryrefslogtreecommitdiff
path: root/include/asm-generic/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-02-23 20:19:04 -0700
committerBjorn Helgaas <bhelgaas@google.com>2012-02-23 20:19:04 -0700
commitfb127cb9de791d62fb393d6e65fa9869bddd2460 (patch)
tree5cb45ac2fd5139cfc9165fead210a3ad2bb3b2a5 /include/asm-generic/pci.h
parent4ba2aef3157f483fd67ac2616f14dbc32a3f751d (diff)
downloadlwn-fb127cb9de791d62fb393d6e65fa9869bddd2460.tar.gz
lwn-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)
{