diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-02 03:53:20 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-08 08:36:17 -0400 |
commit | c633c531f8afbcfd422409c3350b8dc55baa485e (patch) | |
tree | 5c43940b04e2728f376404ace128fd7283dd5646 /arch/arm/mach-msm/board-sapphire.c | |
parent | 8321b758e08cae7fb02663f26efee4ba985c2ae5 (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.c | 6 |
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 4a8ea0d40b6f..2e569ab10eef 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 | ||
104 | static void __init sapphire_init_late(void) | ||
105 | { | ||
106 | smd_debugfs_init(); | ||
107 | } | ||
108 | |||
104 | MACHINE_START(SAPPHIRE, "sapphire") | 109 | MACHINE_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, |
112 | MACHINE_END | 118 | MACHINE_END |