Commit 47a5c976486e407fc0d0bc8fa165132b6f9bec26
Committed by
Ralf Baechle
1 parent
32d00d0f93
Exists in
master
and in
7 other branches
[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>
Showing 2 changed files with 7 additions and 1 deletions Side-by-side Diff
arch/mips/pci/pci.c
... | ... | @@ -328,8 +328,12 @@ |
328 | 328 | EXPORT_SYMBOL(PCIBIOS_MIN_MEM); |
329 | 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 | 337 | return str; |
334 | 338 | } |