aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/common.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-02-21 20:10:14 -0500
committerColin Cross <ccross@android.com>2011-02-22 14:25:12 -0500
commit0cf6230af909a86f81907455eca2a5c9b8f68fe6 (patch)
tree9e22caea8b2bdb4db0ea1998683214bf6a34cd39 /arch/arm/mach-tegra/common.c
parent1be3d0537516fa42825406b4bc1291b77ed62614 (diff)
ARM: tegra: Move tegra_common_init to tegra_init_early
Move tegra_common_init to tegra_init_early, and set it as the init_early entry in the machine struct. Initializes the clocks earlier so that timers can enable their clocks. Also reorders the members in the Harmony and Trimslice boards' machine structs to match the order they are called in. Signed-off-by: Colin Cross <ccross@android.com> Acked-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/common.c')
-rw-r--r--arch/arm/mach-tegra/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c
index 54826b805b91..14fa533b1e20 100644
--- a/arch/arm/mach-tegra/common.c
+++ b/arch/arm/mach-tegra/common.c
@@ -72,7 +72,7 @@ void __init tegra_init_cache(void)
72 72
73} 73}
74 74
75void __init tegra_common_init(void) 75void __init tegra_init_early(void)
76{ 76{
77 tegra_init_fuse(); 77 tegra_init_fuse();
78 tegra_init_clock(); 78 tegra_init_clock();