diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-02 09:53:20 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-08 14:36:17 +0200 |
commit | c633c531f8afbcfd422409c3350b8dc55baa485e (patch) | |
tree | 5c43940b04e2728f376404ace128fd7283dd5646 /arch/arm/mach-msm/board-sapphire.c | |
parent | ARM: imx: use machine specific hook for late init (diff) | |
download | linux-c633c531f8afbcfd422409c3350b8dc55baa485e.tar.xz linux-c633c531f8afbcfd422409c3350b8dc55baa485e.zip |
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) msm_clock_init(); } +static void __init sapphire_init_late(void) +{ + smd_debugfs_init(); +} + MACHINE_START(SAPPHIRE, "sapphire") /* Maintainer: Brian Swetland <swetland@google.com> */ .atag_offset = 0x100, @@ -108,5 +113,6 @@ MACHINE_START(SAPPHIRE, "sapphire") .map_io = sapphire_map_io, .init_irq = sapphire_init_irq, .init_machine = sapphire_init, + .init_late = sapphire_init_late, .timer = &msm_timer, MACHINE_END |