aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/board-sapphire.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-05-02 03:53:20 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 08:36:17 -0400
commitc633c531f8afbcfd422409c3350b8dc55baa485e (patch)
tree5c43940b04e2728f376404ace128fd7283dd5646 /arch/arm/mach-msm/board-sapphire.c
parent8321b758e08cae7fb02663f26efee4ba985c2ae5 (diff)
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-sapphire.c')
-rw-r--r--arch/arm/mach-msm/board-sapphire.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-sapphire.c b/arch/arm/mach-msm/board-sapphire.c
index 4a8ea0d40b6..2e569ab10ee 100644
--- a/arch/arm/mach-msm/board-sapphire.c
+++ b/arch/arm/mach-msm/board-sapphire.c
@@ -101,6 +101,11 @@ static void __init sapphire_map_io(void)
101 msm_clock_init(); 101 msm_clock_init();
102} 102}
103 103
104static void __init sapphire_init_late(void)
105{
106 smd_debugfs_init();
107}
108
104MACHINE_START(SAPPHIRE, "sapphire") 109MACHINE_START(SAPPHIRE, "sapphire")
105/* Maintainer: Brian Swetland <swetland@google.com> */ 110/* Maintainer: Brian Swetland <swetland@google.com> */
106 .atag_offset = 0x100, 111 .atag_offset = 0x100,
@@ -108,5 +113,6 @@ MACHINE_START(SAPPHIRE, "sapphire")
108 .map_io = sapphire_map_io, 113 .map_io = sapphire_map_io,
109 .init_irq = sapphire_init_irq, 114 .init_irq = sapphire_init_irq,
110 .init_machine = sapphire_init, 115 .init_machine = sapphire_init,
116 .init_late = sapphire_init_late,
111 .timer = &msm_timer, 117 .timer = &msm_timer,
112MACHINE_END 118MACHINE_END