From: Linas Vepstas Date: Thu, 2 Feb 2006 00:21:09 +0000 (-0600) Subject: [PATCH] PowerPC/PCI Hotplug build break X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=61ee9cd5f2e76859222c1d64394ae633f9080163;p=openwrt%2Fstaging%2Fblogic.git [PATCH] PowerPC/PCI Hotplug build break Build break: Building PCI hotplug on PowerPC results in a build break, due to failure to export symbols. Reported today by Dave Jones : drivers/pci/hotplug/rpaphp.ko needs unknown symbol pcibios_add_pci_devices This patch fixes same problem in drivers/pci tree Previous patch fixes the break in the arch/powerpc tree. Signed-off-by: Linas Vepstas Signed-off-by: Linus Torvalds --- diff --git a/drivers/pci/hotplug/rpaphp_slot.c b/drivers/pci/hotplug/rpaphp_slot.c index 04cc1e7275ce..78943e064b59 100644 --- a/drivers/pci/hotplug/rpaphp_slot.c +++ b/drivers/pci/hotplug/rpaphp_slot.c @@ -159,6 +159,7 @@ int rpaphp_deregister_slot(struct slot *slot) dbg("%s - Exit: rc[%d]\n", __FUNCTION__, retval); return retval; } +EXPORT_SYMBOL_GPL(rpaphp_deregister_slot); int rpaphp_register_slot(struct slot *slot) {