avr32: move hsmc_init() to core_initcall
authorHåvard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 6 Jun 2008 16:04:55 +0000 (18:04 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 7 Jun 2008 07:45:07 +0000 (08:45 +0100)
The board init code, typically running from postcore_initcall, may
need to set up SMC timings. We have to make sure the SMC driver is
ready before this happens.

Signed-off-by: Håvard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
arch/avr32/mach-at32ap/hsmc.c

index fa427ed427874843ea523c30c2c69b46089914be..b2d9bc61a35ca1ca55572bf8aa6636ecde50f9cc 100644 (file)
@@ -278,4 +278,4 @@ static int __init hsmc_init(void)
 {
        return platform_driver_register(&hsmc_driver);
 }
-arch_initcall(hsmc_init);
+core_initcall(hsmc_init);