summaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/hsmc.c
diff options
context:
space:
mode:
authorHåvard Skinnemoen <haavard.skinnemoen@atmel.com>2008-06-06 18:04:55 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2008-06-07 08:45:07 +0100
commite1677ce4e41a7c1bbc35a0dee27d5c7e7d223a4b (patch)
tree9c5c5aaeaf77a56aa95ed7db123197e11aee1026 /arch/avr32/mach-at32ap/hsmc.c
parentcc0c72e173db70a3a864994b05ebbe59b79b888f (diff)
downloadlinux-e1677ce4e41a7c1bbc35a0dee27d5c7e7d223a4b.tar.gz
linux-e1677ce4e41a7c1bbc35a0dee27d5c7e7d223a4b.tar.xz
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 <haavard.skinnemoen@atmel.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'arch/avr32/mach-at32ap/hsmc.c')
-rw-r--r--arch/avr32/mach-at32ap/hsmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/hsmc.c b/arch/avr32/mach-at32ap/hsmc.c
index fa427ed42787..b2d9bc61a35c 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);