avr32: move hsmc_init() to core_initcall
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Jun 7 07:59:02 EDT 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e1677ce4e41a7c1bbc35a0dee27d5c7e7d223a4b
Commit: e1677ce4e41a7c1bbc35a0dee27d5c7e7d223a4b
Parent: cc0c72e173db70a3a864994b05ebbe59b79b888f
Author: Håvard Skinnemoen <haavard.skinnemoen at atmel.com>
AuthorDate: Fri Jun 6 18:04:55 2008 +0200
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat Jun 7 08:45:07 2008 +0100
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 at atmel.com>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
arch/avr32/mach-at32ap/hsmc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/avr32/mach-at32ap/hsmc.c b/arch/avr32/mach-at32ap/hsmc.c
index fa427ed..b2d9bc6 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);
More information about the linux-mtd-cvs
mailing list