浏览代码

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>
Håvard Skinnemoen 17 年之前
父节点
当前提交
e1677ce4e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/avr32/mach-at32ap/hsmc.c

+ 1 - 1
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);