diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-23 11:25:14 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 16:54:36 -0400 |
commit | 47a5c976486e407fc0d0bc8fa165132b6f9bec26 (patch) | |
tree | 56b234d3553eb15f90084c3ac6a20dbdefe3f8c8 /arch/mips/pci/pci.c | |
parent | 32d00d0f933ea5d21c3cd0809461ebbf7ab89cef (diff) |
[MIPS] Introduce pcibios_plat_setup
Introduce pcibios_plat_setup for platform-specific pcibios_setup.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci.c')
-rw-r--r-- | arch/mips/pci/pci.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 77bd5b68dc43..c7fe6ec621e6 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
@@ -328,7 +328,11 @@ EXPORT_SYMBOL(PCIBIOS_MIN_IO); | |||
328 | EXPORT_SYMBOL(PCIBIOS_MIN_MEM); | 328 | EXPORT_SYMBOL(PCIBIOS_MIN_MEM); |
329 | #endif | 329 | #endif |
330 | 330 | ||
331 | char *pcibios_setup(char *str) | 331 | char * (*pcibios_plat_setup)(char *str) __devinitdata; |
332 | |||
333 | char *__devinit pcibios_setup(char *str) | ||
332 | { | 334 | { |
335 | if (pcibios_plat_setup) | ||
336 | return pcibios_plat_setup(str); | ||
333 | return str; | 337 | return str; |
334 | } | 338 | } |