diff options
author | Linas Vepstas <linas@linas.org> | 2005-11-03 18:52:01 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 14:51:08 +1100 |
commit | facf07870b6103b8f9b6c872e3cb1032c5185d0b (patch) | |
tree | 30dfdaf12f69fe36186060e6a0486ce8a1853347 /arch/powerpc | |
parent | e2a296eeaa344450196e910a136ab14119d7ae48 (diff) | |
download | kernel_samsung_smdk4412-facf07870b6103b8f9b6c872e3cb1032c5185d0b.zip kernel_samsung_smdk4412-facf07870b6103b8f9b6c872e3cb1032c5185d0b.tar.gz kernel_samsung_smdk4412-facf07870b6103b8f9b6c872e3cb1032c5185d0b.tar.bz2 |
[PATCH] powerpc: make pcibios_claim_one_bus available to other code
22-rpaphp-eliminate-dupe-code.patch (parts)
The RPAPHP code contains two routines that appear to be gratuitous
copies of very similar pci code. In particular,
rpaphp_claim_resource ~~ pci_claim_resource
rpadlpar_claim_one_bus == pcibios_claim_one_bus
This makes pcibios_claim_one_bus from arch/powerpc/kernel/pci_64.c
available to the RPAPHP code.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 9a80cdf..5f241fc 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c @@ -251,7 +251,7 @@ void pcibios_free_controller(struct pci_controller *phb) kfree(phb); } -static void __init pcibios_claim_one_bus(struct pci_bus *b) +void __devinit pcibios_claim_one_bus(struct pci_bus *b) { struct pci_dev *dev; struct pci_bus *child_bus; |