summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@redhat.com>2012-06-26 05:31:51 +0200
committerBjorn Helgaas <bhelgaas@google.com>2012-07-05 23:09:13 +0200
commit67ea194ad312b8916917480faebf76fa5d9454a2 (patch)
tree84c1cbdc1c083553de4c343c0baea5e9dfe914a4 /arch/powerpc
parentparisc/PCI: factor out pcibios_setup() (diff)
downloadlinux-67ea194ad312b8916917480faebf76fa5d9454a2.tar.xz
linux-67ea194ad312b8916917480faebf76fa5d9454a2.zip
powerpc/PCI: factor out pcibios_setup()
The PCI core provides a generic pcibios_setup() routine. Drop this architecture-specific version in favor of that. Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Myron Stowe <myron.stowe@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/pci-common.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 8e78e93c8185..bf2306bfa756 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -200,11 +200,6 @@ int pcibios_add_platform_entries(struct pci_dev *pdev)
return device_create_file(&pdev->dev, &dev_attr_devspec);
}
-char __devinit *pcibios_setup(char *str)
-{
- return str;
-}
-
/*
* Reads the interrupt pin to determine if interrupt is use by card.
* If the interrupt is used, then gets the interrupt line from the