Commit e1677ce4 authored by Håvard Skinnemoen's avatar Håvard Skinnemoen Committed by David Woodhouse

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: default avatarHåvard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent cc0c72e1
...@@ -278,4 +278,4 @@ static int __init hsmc_init(void) ...@@ -278,4 +278,4 @@ static int __init hsmc_init(void)
{ {
return platform_driver_register(&hsmc_driver); return platform_driver_register(&hsmc_driver);
} }
arch_initcall(hsmc_init); core_initcall(hsmc_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment