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/ddb5xxx/ddb5477/setup.c | |
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/ddb5xxx/ddb5477/setup.c')
-rw-r--r-- | arch/mips/ddb5xxx/ddb5477/setup.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/ddb5xxx/ddb5477/setup.c b/arch/mips/ddb5xxx/ddb5477/setup.c index d62f5a789b05..81163353c4a8 100644 --- a/arch/mips/ddb5xxx/ddb5477/setup.c +++ b/arch/mips/ddb5xxx/ddb5477/setup.c | |||
@@ -170,7 +170,7 @@ static void ddb5477_board_init(void); | |||
170 | extern struct pci_controller ddb5477_ext_controller; | 170 | extern struct pci_controller ddb5477_ext_controller; |
171 | extern struct pci_controller ddb5477_io_controller; | 171 | extern struct pci_controller ddb5477_io_controller; |
172 | 172 | ||
173 | static int ddb5477_setup(void) | 173 | void __init plat_setup(void) |
174 | { | 174 | { |
175 | /* initialize board - we don't trust the loader */ | 175 | /* initialize board - we don't trust the loader */ |
176 | ddb5477_board_init(); | 176 | ddb5477_board_init(); |
@@ -193,12 +193,8 @@ static int ddb5477_setup(void) | |||
193 | 193 | ||
194 | register_pci_controller (&ddb5477_ext_controller); | 194 | register_pci_controller (&ddb5477_ext_controller); |
195 | register_pci_controller (&ddb5477_io_controller); | 195 | register_pci_controller (&ddb5477_io_controller); |
196 | |||
197 | return 0; | ||
198 | } | 196 | } |
199 | 197 | ||
200 | early_initcall(ddb5477_setup); | ||
201 | |||
202 | static void __init ddb5477_board_init(void) | 198 | static void __init ddb5477_board_init(void) |
203 | { | 199 | { |
204 | /* ----------- setup PDARs ------------ */ | 200 | /* ----------- setup PDARs ------------ */ |