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>
This commit is contained in:
parent
cc0c72e173
commit
e1677ce4e4
|
@ -278,4 +278,4 @@ static int __init hsmc_init(void)
|
|||
{
|
||||
return platform_driver_register(&hsmc_driver);
|
||||
}
|
||||
arch_initcall(hsmc_init);
|
||||
core_initcall(hsmc_init);
|
||||
|
|
Loading…
Reference in a new issue