Skip to content

Commit

Permalink
avr32: move hsmc_init() to core_initcall
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Håvard Skinnemoen authored and David Woodhouse committed Jun 7, 2008
1 parent cc0c72e commit e1677ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/avr32/mach-at32ap/hsmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,4 @@ static int __init hsmc_init(void)
{
return platform_driver_register(&hsmc_driver);
}
arch_initcall(hsmc_init);
core_initcall(hsmc_init);

0 comments on commit e1677ce

Please sign in to comment.