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-mahimahi.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-mahimahi.c')
-rw-r--r-- | arch/arm/mach-msm/board-mahimahi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-mahimahi.c b/arch/arm/mach-msm/board-mahimahi.c index 5a4882fc6f7a..cf1f89a5dc62 100644 --- a/arch/arm/mach-msm/board-mahimahi.c +++ b/arch/arm/mach-msm/board-mahimahi.c | |||
@@ -71,6 +71,11 @@ static void __init mahimahi_map_io(void) | |||
71 | msm_clock_init(); | 71 | msm_clock_init(); |
72 | } | 72 | } |
73 | 73 | ||
74 | static void __init mahimahi_init_late(void) | ||
75 | { | ||
76 | smd_debugfs_init(); | ||
77 | } | ||
78 | |||
74 | extern struct sys_timer msm_timer; | 79 | extern struct sys_timer msm_timer; |
75 | 80 | ||
76 | MACHINE_START(MAHIMAHI, "mahimahi") | 81 | MACHINE_START(MAHIMAHI, "mahimahi") |
@@ -79,5 +84,6 @@ MACHINE_START(MAHIMAHI, "mahimahi") | |||
79 | .map_io = mahimahi_map_io, | 84 | .map_io = mahimahi_map_io, |
80 | .init_irq = msm_init_irq, | 85 | .init_irq = msm_init_irq, |
81 | .init_machine = mahimahi_init, | 86 | .init_machine = mahimahi_init, |
87 | .init_late = mahimahi_init_late, | ||
82 | .timer = &msm_timer, | 88 | .timer = &msm_timer, |
83 | MACHINE_END | 89 | MACHINE_END |