[PATCH] powerpc: export pcibios_fixup_new_pci_devices()
linas
linas at austin.ibm.com
Sat Dec 3 11:55:24 EST 2005
Hi Paul,
Please apply.
--linas
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 at austin.ibm.com>
Index: linux-2.6.15-rc3-mm1/arch/powerpc/platforms/pseries/pci_dlpar.c
===================================================================
--- linux-2.6.15-rc3-mm1.orig/arch/powerpc/platforms/pseries/pci_dlpar.c 2005-12-02 17:30:02.997471195 -0600
+++ linux-2.6.15-rc3-mm1/arch/powerpc/platforms/pseries/pci_dlpar.c 2005-12-02 17:31:37.444176026 -0600
@@ -77,7 +77,7 @@
}
/* 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: linux-2.6.15-rc3-mm1/include/asm-powerpc/pci-bridge.h
===================================================================
--- linux-2.6.15-rc3-mm1.orig/include/asm-powerpc/pci-bridge.h 2005-12-01 15:17:23.000000000 -0600
+++ linux-2.6.15-rc3-mm1/include/asm-powerpc/pci-bridge.h 2005-12-02 17:34:37.386846527 -0600
@@ -137,6 +137,7 @@
/** 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);
More information about the Linuxppc64-dev
mailing list