diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-12 11:36:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-18 09:02:44 +0200 |
commit | 2260389da40028b71550371738f8b9744d900ec4 (patch) | |
tree | e28b374ad84b75c31fbef02edb183148128fec5e /arch/arm/mach-imx/clocksource.c | |
parent | 49e94a4211b515c982809b883c7e9ec0a116b8dd (diff) | |
download | barebox-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.c | 2 |
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); |