]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
msm: smd: enable smd on msm7x30 target
authorNiranjana Vishwanathapura <nvishwan@codeaurora.org>
Wed, 6 Oct 2010 20:52:10 +0000 (13:52 -0700)
committerDaniel Walker <dwalker@codeaurora.org>
Mon, 11 Oct 2010 22:13:05 +0000 (15:13 -0700)
Add msm_smd device in the msm7x30 board file.

Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
arch/arm/mach-msm/board-msm7x30.c
arch/arm/mach-msm/devices-msm7x30.c

index 74abb74b498309ab3f060fcd3b43054335cfa762..76d5a22a6984ada8cc9d2f99ee7d2d2a995e8c5c 100644 (file)
@@ -43,7 +43,7 @@ static struct platform_device *devices[] __initdata = {
 #if defined(CONFIG_SERIAL_MSM) || defined(CONFIG_MSM_SERIAL_DEBUGGER)
         &msm_device_uart2,
 #endif
-
+       &msm_device_smd,
 };
 
 static void __init msm7x30_init_irq(void)
index b449e8ad2904c36905043e5bf951510052d89790..7fcf2e3b7698d5ef329a6483eefc29b7be432075 100644 (file)
@@ -51,6 +51,11 @@ struct platform_device msm_device_uart2 = {
        .resource       = resources_uart2,
 };
 
+struct platform_device msm_device_smd = {
+       .name   = "msm_smd",
+       .id     = -1,
+};
+
 struct clk msm_clocks_7x30[] = {
        CLK_PCOM("adm_clk",     ADM_CLK,        NULL, 0),
        CLK_PCOM("adsp_clk",    ADSP_CLK,       NULL, 0),