diff options
author | linas <linas@austin.ibm.com> | 2006-01-10 16:18:16 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-10 22:47:30 -0500 |
commit | af9deabeb0298559227fd9b481d33aefcb15ca54 (patch) | |
tree | 413ade0271ccf598efb64b6f6d9c928bb80fa55c /arch/powerpc/kernel/pci_64.c | |
parent | ad2b2426bb8dce97827182946e33e7f7ff0afbce (diff) |
[PATCH] PCI Hotplug/powerpc: module build break
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@suse.de>
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index ba21a6c4f467..24fe70f40b66 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -271,6 +271,9 @@ void __devinit pcibios_claim_one_bus(struct pci_bus *b) | |||
271 | list_for_each_entry(child_bus, &b->children, node) | 271 | list_for_each_entry(child_bus, &b->children, node) |
272 | pcibios_claim_one_bus(child_bus); | 272 | pcibios_claim_one_bus(child_bus); |
273 | } | 273 | } |
274 | #ifdef CONFIG_HOTPLUG | ||
275 | EXPORT_SYMBOL_GPL(pcibios_claim_one_bus); | ||
276 | #endif | ||
274 | 277 | ||
275 | #ifndef CONFIG_PPC_ISERIES | 278 | #ifndef CONFIG_PPC_ISERIES |
276 | static void __init pcibios_claim_of_setup(void) | 279 | static void __init pcibios_claim_of_setup(void) |