summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@redhat.com>2012-06-25 21:31:51 -0600
committerBjorn Helgaas <bhelgaas@google.com>2012-07-05 15:09:13 -0600
commit67ea194ad312b8916917480faebf76fa5d9454a2 (patch)
tree84c1cbdc1c083553de4c343c0baea5e9dfe914a4 /arch/powerpc
parenta45639c8d367a93acce1622c8847e9e828fbb1f9 (diff)
downloadlinux-67ea194ad312b8916917480faebf76fa5d9454a2.tar.gz
linux-67ea194ad312b8916917480faebf76fa5d9454a2.tar.bz2
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