2006-02-02 00:21:24

by linas

[permalink] [raw]
Subject: [PATCH 2/2]: PowerPC/PCI Hotplug build break


Please apply ASAP:

Build break: Building PCI hotplug on PowerPC results in
a build break, due to failure to export symbols.

Reported today by Dave Jones <[email protected]>:
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 <[email protected]>
---
rpaphp_slot.c | 1 +
1 files changed, 1 insertion(+)

Index: linux-2.6.16-rc1-git5/drivers/pci/hotplug/rpaphp_slot.c
===================================================================
--- linux-2.6.16-rc1-git5.orig/drivers/pci/hotplug/rpaphp_slot.c 2006-02-01 18:06:06.022722369 -0600
+++ linux-2.6.16-rc1-git5/drivers/pci/hotplug/rpaphp_slot.c 2006-02-01 18:11:46.049970222 -0600
@@ -159,6 +159,7 @@
dbg("%s - Exit: rc[%d]\n", __FUNCTION__, retval);
return retval;
}
+EXPORT_SYMBOL_GPL(rpaphp_deregister_slot);

int rpaphp_register_slot(struct slot *slot)
{