summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/board-trout.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-02 11:53:20 +0400
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 16:36:17 +0400
commitc633c531f8afbcfd422409c3350b8dc55baa485e (patch)
tree5c43940b04e2728f376404ace128fd7283dd5646 /arch/arm/mach-msm/board-trout.c
parent8321b758e08cae7fb02663f26efee4ba985c2ae5 (diff)
downloadlinux-c633c531f8afbcfd422409c3350b8dc55baa485e.tar.xz
ARM: msm: use machine specific hook for late init
Cc: Daniel Walker <dwalker@fifo99.com> Cc: Bryan Huntsman <bryanh@codeaurora.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/board-trout.c')
-rw-r--r--arch/arm/mach-msm/board-trout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c
index d4060a37e23d..bbe13f12fa01 100644
--- a/arch/arm/mach-msm/board-trout.c
+++ b/arch/arm/mach-msm/board-trout.c
@@ -98,6 +98,11 @@ static void __init trout_map_io(void)
msm_clock_init(msm_clocks_7x01a, msm_num_clocks_7x01a);
}
+static void __init trout_init_late(void)
+{
+ smd_debugfs_init();
+}
+
MACHINE_START(TROUT, "HTC Dream")
.atag_offset = 0x100,
.fixup = trout_fixup,
@@ -105,5 +110,6 @@ MACHINE_START(TROUT, "HTC Dream")
.init_early = trout_init_early,
.init_irq = trout_init_irq,
.init_machine = trout_init,
+ .init_late = trout_init_late,
.timer = &msm_timer,
MACHINE_END