[PATCH] powerpc: export PCI fixup routine
authorlinas <linas@austin.ibm.com>
Tue, 13 Dec 2005 19:46:36 +0000 (13:46 -0600)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:54:02 +0000 (14:54 +1100)
There is code in the RPAPHP directory that is identical to this routine;
I'll be removing that code in an upcoming patch, but this patch is needed
to expose the function to make it callable.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/pci_dlpar.c
include/asm-powerpc/pci-bridge.h

index 283377a..2193478 100644 (file)
@@ -77,7 +77,7 @@ pcibios_remove_pci_devices(struct pci_bus *bus)
 }
 
 /* Must be called before pci_bus_add_devices */
-static void
+void
 pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus)
 {
        struct pci_dev *dev;
index 01132bb..3d94e55 100644 (file)
@@ -136,6 +136,7 @@ void pcibios_remove_pci_devices(struct pci_bus *bus);
 
 /** Discover new pci devices under this bus, and add them */
 void pcibios_add_pci_devices(struct pci_bus * bus);
+void pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus);
 
 extern int pcibios_remove_root_bus(struct pci_controller *phb);