Skip to contentSkip to conversation

: ppc64/pseries build-break fix: export pcibios_remove_pci_devices

PATCH New Linas Vepstas 1 participant 1 message May 7, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : ppc64/pseries build-break fix: export pcibios_remove_pci_devices

Paul, please apply and push the following; its a build-break fix.

BTW, I have 5 more pseries EEH patches I've been planning to push for weeks, I just haven't been able to get access to the right kind of machine to test on. But they're coming real soon now, I'd like to have them for 2.6.22

--linas

The pseries PCI hotplug code cannot build as a module, unless the pcibios_remove_pci_devices function is exported.

----

 arch/powerpc/platforms/pseries/pci_dlpar.c |    1 +
 1 file changed, 1 insertion(+)
arch/powerpc/platforms/pseries/pci_dlpar.c +1 -0
Index: linux-2.6.21-rc7-mm2/arch/powerpc/platforms/pseries/pci_dlpar.c
===================================================================
@@ -79,6 +79,7 @@ pcibios_remove_pci_devices(struct pci_bu
 		pci_remove_bus_device(dev);
 	}
 }
+EXPORT_SYMBOL_GPL(pcibios_remove_pci_devices);
 
 /* Must be called before pci_bus_add_devices */
 void