[PATCH 2/2] PCI Hotplug/powerpc: module build break

linas linas at austin.ibm.com
Wed Jan 11 08:18:16 EST 2006


Paul,
Please apply and send upsteam
--linas


The RPAPHP hoplug driver will not build as a module, because it calls
on a pcibios routine which is not exported. This exports the symbol.
Problem reported by Olaf Hering <olh at suse.de>

Signed-off-by: Linas Vepstas <linas at austin.ibm.com>


Index: linux-2.6.15-git6/arch/powerpc/kernel/pci_64.c
===================================================================
--- linux-2.6.15-git6.orig/arch/powerpc/kernel/pci_64.c	2006-01-10 14:48:21.992353213 -0600
+++ linux-2.6.15-git6/arch/powerpc/kernel/pci_64.c	2006-01-10 15:05:22.751996060 -0600
@@ -271,6 +271,9 @@
 	list_for_each_entry(child_bus, &b->children, node)
 		pcibios_claim_one_bus(child_bus);
 }
+#ifdef CONFIG_HOTPLUG
+EXPORT_SYMBOL_GPL(pcibios_claim_one_bus);
+#endif
 
 #ifndef CONFIG_PPC_ISERIES
 static void __init pcibios_claim_of_setup(void)




More information about the Linuxppc64-dev mailing list