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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user