summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-origen.c
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2013-03-09 09:03:29 +0100
committerKukjin Kim <kgene.kim@samsung.com>2013-03-25 10:17:12 +0100
commit6923ae4bd3bb85745629f120a4cccee0182a8f9d (patch)
tree75820a23e36d1732b0e4150e902874e4ef4472d9 /arch/arm/mach-exynos/mach-origen.c
parentARM: EXYNOS: Migrate clock support to common clock framework (diff)
downloadlinux-6923ae4bd3bb85745629f120a4cccee0182a8f9d.tar.xz
linux-6923ae4bd3bb85745629f120a4cccee0182a8f9d.zip
ARM: EXYNOS: Initialize the clocks prior to timer initialization
Since the clock initialization should be completed prior to the mct timer initialization, create a new function 'exynos_init_time' that first sets up the clock and then invokes the timer initialization function. The 'init_time' callback in the board files are updated to invoke this new wrapper function. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/mach-origen.c')
-rw-r--r--arch/arm/mach-exynos/mach-origen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c
index 620d60c8fbb5..e42e61ae1e1c 100644
--- a/arch/arm/mach-exynos/mach-origen.c
+++ b/arch/arm/mach-exynos/mach-origen.c
@@ -814,7 +814,7 @@ MACHINE_START(ORIGEN, "ORIGEN")
.map_io = origen_map_io,
.init_machine = origen_machine_init,
.init_late = exynos_init_late,
- .init_time = mct_init,
+ .init_time = exynos_init_time,
.reserve = &origen_reserve,
.restart = exynos4_restart,
MACHINE_END