aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci_64.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_64.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_64.c')
-rw-r--r--arch/powerpc/kernel/pci_64.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index f5fc547284bc..e6e8813c364a 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -507,17 +507,6 @@ int __devinit pcibios_map_io_space(struct pci_bus *bus)
507} 507}
508EXPORT_SYMBOL_GPL(pcibios_map_io_space); 508EXPORT_SYMBOL_GPL(pcibios_map_io_space);
509 509
510void __devinit pcibios_do_bus_setup(struct pci_bus *bus)
511{
512 struct pci_dev *dev;
513
514 if (ppc_md.pci_dma_bus_setup)
515 ppc_md.pci_dma_bus_setup(bus);
516
517 list_for_each_entry(dev, &bus->devices, bus_list)
518 pcibios_setup_new_device(dev);
519}
520
521unsigned long pci_address_to_pio(phys_addr_t address) 510unsigned long pci_address_to_pio(phys_addr_t address)
522{ 511{
523 struct pci_controller *hose, *tmp; 512 struct pci_controller *hose, *tmp;