diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-06-21 17:56:30 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 22:30:18 +0400 |
commit | c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf (patch) | |
tree | 86c613b44ae25af1808b81dde2a4dc0274647194 /arch/mips/mips-boards/malta/malta_setup.c | |
parent | 8c93650890a33318263880dec36603a6d5749b7e (diff) | |
download | linux-c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf.tar.xz |
Get rid of early_init. There's more need to make this form of
initialization actually useful and as is certainly unmergable with
upstream.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards/malta/malta_setup.c')
-rw-r--r-- | arch/mips/mips-boards/malta/malta_setup.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/mips-boards/malta/malta_setup.c b/arch/mips/mips-boards/malta/malta_setup.c index df6db6419ae9..2209e8a9de34 100644 --- a/arch/mips/mips-boards/malta/malta_setup.c +++ b/arch/mips/mips-boards/malta/malta_setup.c @@ -111,10 +111,12 @@ void __init fd_activate(void) } #endif -static int __init malta_setup(void) +void __init plat_setup(void) { unsigned int i; + mips_pcibios_init(); + /* Request I/O space for devices used on the Malta board. */ for (i = 0; i < ARRAY_SIZE(standard_io_resources); i++) request_resource(&ioport_resource, standard_io_resources+i); @@ -224,8 +226,4 @@ static int __init malta_setup(void) board_time_init = mips_time_init; board_timer_setup = mips_timer_setup; rtc_get_time = mips_rtc_get_time; - - return 0; } - -early_initcall(malta_setup); |