Skip to content

Commit

Permalink
[PATCH] PCI Hotplug/powerpc: module build break
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
linas authored and Paul Mackerras committed Jan 11, 2006
1 parent ad2b242 commit af9deab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/kernel/pci_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ void __devinit pcibios_claim_one_bus(struct pci_bus *b)
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)
Expand Down

0 comments on commit af9deab

Please sign in to comment.