aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_32.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-10-27 15:48:33 -0400
committerPaul Mackerras <paulus@samba.org>2008-11-05 06:11:53 -0500
commitab56ced9c57b66862c687f3158045d15133f02d6 (patch)
tree4722dbc469452625e28c2dd65734746e137a0cfc /arch/powerpc/kernel/pci_32.c
parent53280323350621985b3f2f8ffe649215304bcc5f (diff)
powerpc/pci: Remove pcibios_do_bus_setup()
The function pcibios_do_bus_setup() was used by pcibios_fixup_bus() to perform setup that is different between the 32-bit and 64-bit code. This difference no longer exists, thus the function is removed and the setup now done directly from pci-common.c. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r--arch/powerpc/kernel/pci_32.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c
index 883040358273..7ad11e592f2b 100644
--- a/arch/powerpc/kernel/pci_32.c
+++ b/arch/powerpc/kernel/pci_32.c
@@ -446,17 +446,6 @@ static int __init pcibios_init(void)
446 446
447subsys_initcall(pcibios_init); 447subsys_initcall(pcibios_init);
448 448
449void __devinit pcibios_do_bus_setup(struct pci_bus *bus)
450{
451 struct pci_dev *dev;
452
453 if (ppc_md.pci_dma_bus_setup)
454 ppc_md.pci_dma_bus_setup(bus);
455
456 list_for_each_entry(dev, &bus->devices, bus_list)
457 pcibios_setup_new_device(dev);
458}
459
460/* the next one is stolen from the alpha port... */ 449/* the next one is stolen from the alpha port... */
461void __init 450void __init
462pcibios_update_irq(struct pci_dev *dev, int irq) 451pcibios_update_irq(struct pci_dev *dev, int irq)