diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-06-21 09:56:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:18 -0400 |
commit | c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf (patch) | |
tree | 86c613b44ae25af1808b81dde2a4dc0274647194 /arch/mips/mips-boards/malta | |
parent | 8c93650890a33318263880dec36603a6d5749b7e (diff) |
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')
-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) | |||
111 | } | 111 | } |
112 | #endif | 112 | #endif |
113 | 113 | ||
114 | static int __init malta_setup(void) | 114 | void __init plat_setup(void) |
115 | { | 115 | { |
116 | unsigned int i; | 116 | unsigned int i; |
117 | 117 | ||
118 | mips_pcibios_init(); | ||
119 | |||
118 | /* Request I/O space for devices used on the Malta board. */ | 120 | /* Request I/O space for devices used on the Malta board. */ |
119 | for (i = 0; i < ARRAY_SIZE(standard_io_resources); i++) | 121 | for (i = 0; i < ARRAY_SIZE(standard_io_resources); i++) |
120 | request_resource(&ioport_resource, standard_io_resources+i); | 122 | request_resource(&ioport_resource, standard_io_resources+i); |
@@ -224,8 +226,4 @@ static int __init malta_setup(void) | |||
224 | board_time_init = mips_time_init; | 226 | board_time_init = mips_time_init; |
225 | board_timer_setup = mips_timer_setup; | 227 | board_timer_setup = mips_timer_setup; |
226 | rtc_get_time = mips_rtc_get_time; | 228 | rtc_get_time = mips_rtc_get_time; |
227 | |||
228 | return 0; | ||
229 | } | 229 | } |
230 | |||
231 | early_initcall(malta_setup); | ||