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/momentum/ocelot_3 | |
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/momentum/ocelot_3')
-rw-r--r-- | arch/mips/momentum/ocelot_3/setup.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/momentum/ocelot_3/setup.c b/arch/mips/momentum/ocelot_3/setup.c index ce2efcbab7aa..a7803e08f9db 100644 --- a/arch/mips/momentum/ocelot_3/setup.c +++ b/arch/mips/momentum/ocelot_3/setup.c | |||
@@ -307,7 +307,7 @@ static __init int __init ja_pci_init(void) | |||
307 | 307 | ||
308 | arch_initcall(ja_pci_init); | 308 | arch_initcall(ja_pci_init); |
309 | 309 | ||
310 | static int __init momenco_ocelot_3_setup(void) | 310 | void __init plat_setup(void) |
311 | { | 311 | { |
312 | unsigned int tmpword; | 312 | unsigned int tmpword; |
313 | 313 | ||
@@ -391,8 +391,4 @@ static int __init momenco_ocelot_3_setup(void) | |||
391 | 391 | ||
392 | /* Support for 128 MB memory */ | 392 | /* Support for 128 MB memory */ |
393 | add_memory_region(0x0, 0x08000000, BOOT_MEM_RAM); | 393 | add_memory_region(0x0, 0x08000000, BOOT_MEM_RAM); |
394 | |||
395 | return 0; | ||
396 | } | 394 | } |
397 | |||
398 | early_initcall(momenco_ocelot_3_setup); | ||