From: Håvard Skinnemoen Date: Fri, 6 Jun 2008 16:04:55 +0000 (+0200) Subject: avr32: move hsmc_init() to core_initcall X-Git-Tag: v2.6.27-rc1~69^2~32 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1677ce4e41a7c1bbc35a0dee27d5c7e7d223a4b;p=linux-2.6 avr32: move hsmc_init() to core_initcall 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 Signed-off-by: David Woodhouse --- diff --git a/arch/avr32/mach-at32ap/hsmc.c b/arch/avr32/mach-at32ap/hsmc.c index fa427ed427..b2d9bc61a3 100644 --- a/arch/avr32/mach-at32ap/hsmc.c +++ b/arch/avr32/mach-at32ap/hsmc.c @@ -278,4 +278,4 @@ static int __init hsmc_init(void) { return platform_driver_register(&hsmc_driver); } -arch_initcall(hsmc_init); +core_initcall(hsmc_init);