[POWERPC] Export pcibios_remove_pci_devices
authorLinas Vepstas <linas@austin.ibm.com>
Mon, 7 May 2007 17:11:11 +0000 (03:11 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 May 2007 01:54:19 +0000 (11:54 +1000)
The pseries PCI hotplug code cannot build as a module, unless
the pcibios_remove_pci_devices function is exported.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
----
 arch/powerpc/platforms/pseries/pci_dlpar.c |    1 +
 1 file changed, 1 insertion(+)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/pci_dlpar.c

index fdc1a369f767c971bee0b1ccf5f51b93cf539496..ffaf6c5c517bda0527945e4ff7146f28c668db19 100644 (file)
@@ -79,6 +79,7 @@ pcibios_remove_pci_devices(struct pci_bus *bus)
                pci_remove_bus_device(dev);
        }
 }
+EXPORT_SYMBOL_GPL(pcibios_remove_pci_devices);
 
 /* Must be called before pci_bus_add_devices */
 void