[PATCH 2/2]: PowerPC/PCI Hotplug build break

From: Linas Vepstas
Date: Wed Feb 01 2006 - 19:19:32 EST



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 <davej@xxxxxxxxxx>:
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@xxxxxxxxxxxxxx>
---
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)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/