Skip to content

Commit

Permalink
[PATCH] powerpc: export PCI fixup routine
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
linas authored and Paul Mackerras committed Jan 9, 2006
1 parent c4b22f2 commit 31087d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/pci_dlpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pcibios_remove_pci_devices(struct pci_bus *bus)
}

/* Must be called before pci_bus_add_devices */
static void
void
pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus)
{
struct pci_dev *dev;
Expand Down
1 change: 1 addition & 0 deletions include/asm-powerpc/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ void pcibios_remove_pci_devices(struct pci_bus *bus);

/** Discover new pci devices under this bus, and add them */
void pcibios_add_pci_devices(struct pci_bus * bus);
void pcibios_fixup_new_pci_devices(struct pci_bus *bus, int fix_bus);

extern int pcibios_remove_root_bus(struct pci_controller *phb);

Expand Down

0 comments on commit 31087d7

Please sign in to comment.