aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinas <linas@austin.ibm.com>2005-12-13 14:46:36 -0500
committerPaul Mackerras <paulus@samba.org>2006-01-08 22:54:02 -0500
commit31087d7d49bf5fc9cbc2c4852a079213755e8733 (patch)
treed41ede60954f3f677377695ee7c0e230f334eb8a
parentc4b22f268914ff824a6334b62afd23f7ad79df11 (diff)
[PATCH] powerpc: export PCI fixup routine
There is code in the RPAPHP directory that is identical to this routine; I'll be removing that code in an upcoming patch, but this patch is needed to expose the function to make it callable. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/platforms/pseries/pci_dlpar.c2
-rw-r--r--include/asm-powerpc/pci-bridge.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/pci_dlpar.c b/arch/powerpc/platforms/pseries/pci_dlpar.c
index 283377a536bd..21934784f936 100644
--- a/arch/powerpc/platforms/pseries/pci_dlpar.c
+++ b/arch/powerpc/platforms/pseries/pci_dlpar.c
@@ -77,7 +77,7 @@ pcibios_remove_pci_devices(struct pci_bus *bus)
77} 77}
78 78
79/* Must be called before pci_bus_add_devices */ 79/* Must be called before pci_bus_add_devices */
80static void 80void
81pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus) 81pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus)
82{ 82{
83 struct pci_dev *dev; 83 struct pci_dev *dev;
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h
index 01132bb602e3..3d94e55f25d6 100644
--- a/include/asm-powerpc/pci-bridge.h
+++ b/include/asm-powerpc/pci-bridge.h
@@ -136,6 +136,7 @@ void pcibios_remove_pci_devices(struct pci_bus *bus);
136 136
137/** Discover new pci devices under this bus, and add them */ 137/** Discover new pci devices under this bus, and add them */
138void pcibios_add_pci_devices(struct pci_bus * bus); 138void pcibios_add_pci_devices(struct pci_bus * bus);
139void pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus);
139 140
140extern int pcibios_remove_root_bus(struct pci_controller *phb); 141extern int pcibios_remove_root_bus(struct pci_controller *phb);
141 142