aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@redhat.com>2012-06-25 23:31:51 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-07-05 17:09:13 -0400
commit67ea194ad312b8916917480faebf76fa5d9454a2 (patch)
tree84c1cbdc1c083553de4c343c0baea5e9dfe914a4
parenta45639c8d367a93acce1622c8847e9e828fbb1f9 (diff)
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>
-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)
200 return device_create_file(&pdev->dev, &dev_attr_devspec); 200 return device_create_file(&pdev->dev, &dev_attr_devspec);
201} 201}
202 202
203char __devinit *pcibios_setup(char *str)
204{
205 return str;
206}
207
208/* 203/*
209 * Reads the interrupt pin to determine if interrupt is use by card. 204 * Reads the interrupt pin to determine if interrupt is use by card.
210 * If the interrupt is used, then gets the interrupt line from the 205 * If the interrupt is used, then gets the interrupt line from the