summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clocksource.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-06-12 11:36:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-18 09:02:44 +0200
commit2260389da40028b71550371738f8b9744d900ec4 (patch)
treee28b374ad84b75c31fbef02edb183148128fec5e /arch/arm/mach-imx/clocksource.c
parent49e94a4211b515c982809b883c7e9ec0a116b8dd (diff)
downloadbarebox-2260389da40028b71550371738f8b9744d900ec4.tar.gz
barebox-2260389da40028b71550371738f8b9744d900ec4.tar.xz
ARM: i.MX: Make timer available earlier
This moves the CCM drivers to core_initcall since this has no dependencies. This way we can be sure that the clock for the clocksource is available in at postcore_initcall time. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/clocksource.c')
-rw-r--r--arch/arm/mach-imx/clocksource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c
index e18685ec29..c04af630c3 100644
--- a/arch/arm/mach-imx/clocksource.c
+++ b/arch/arm/mach-imx/clocksource.c
@@ -165,4 +165,4 @@ static int imx_gpt_init(void)
{
return platform_driver_register(&imx_gpt_driver);
}
-coredevice_initcall(imx_gpt_init);
+postcore_initcall(imx_gpt_init);