diff options
author | Linas Vepstas <linas@linas.org> | 2005-11-03 19:52:01 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:51:08 -0500 |
commit | facf07870b6103b8f9b6c872e3cb1032c5185d0b (patch) | |
tree | 30dfdaf12f69fe36186060e6a0486ce8a1853347 /include | |
parent | e2a296eeaa344450196e910a136ab14119d7ae48 (diff) |
[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 'include')
-rw-r--r-- | include/asm-powerpc/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/pci.h b/include/asm-powerpc/pci.h index d5934a076bd0..5d2c9e6c4be2 100644 --- a/include/asm-powerpc/pci.h +++ b/include/asm-powerpc/pci.h | |||
@@ -216,6 +216,8 @@ extern int remap_bus_range(struct pci_bus *bus); | |||
216 | extern void pcibios_fixup_device_resources(struct pci_dev *dev, | 216 | extern void pcibios_fixup_device_resources(struct pci_dev *dev, |
217 | struct pci_bus *bus); | 217 | struct pci_bus *bus); |
218 | 218 | ||
219 | extern void pcibios_claim_one_bus(struct pci_bus *b); | ||
220 | |||
219 | extern struct pci_controller *init_phb_dynamic(struct device_node *dn); | 221 | extern struct pci_controller *init_phb_dynamic(struct device_node *dn); |
220 | 222 | ||
221 | extern struct pci_dev *of_create_pci_dev(struct device_node *node, | 223 | extern struct pci_dev *of_create_pci_dev(struct device_node *node, |