diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-02 11:53:20 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-08 16:36:17 +0400 |
commit | c633c531f8afbcfd422409c3350b8dc55baa485e (patch) | |
tree | 5c43940b04e2728f376404ace128fd7283dd5646 /arch/arm/mach-msm/board-trout.c | |
parent | 8321b758e08cae7fb02663f26efee4ba985c2ae5 (diff) | |
download | linux-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.c | 6 |
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 |