[PATCH] PowerPC/PCI Hotplug build break
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 2 Feb 2006 00:21:09 +0000 (18:21 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Feb 2006 00:35:29 +0000 (16:35 -0800)
Build break: Building PCI hotplug on PowerPC results in
a build break, due to failure to export symbols.

Reported today by Dave Jones <davej@redhat.com>:
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 <linas@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/hotplug/rpaphp_slot.c

index 04cc1e7275ce1c57cb78a768ed6808b88cba8124..78943e064b5977babc6d3d51bbd1ef3b113dbf08 100644 (file)
@@ -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)
 {