]> git.karo-electronics.de Git - linux-beck.git/commitdiff
msm: smd: enable smd on qsd8x50 target
authorNiranjana Vishwanathapura <nvishwan@codeaurora.org>
Wed, 6 Oct 2010 20:52:11 +0000 (13:52 -0700)
committerDaniel Walker <dwalker@codeaurora.org>
Mon, 11 Oct 2010 22:14:02 +0000 (15:14 -0700)
Add msm_smd device in the qsd8x50 board file.
Signed-off-by: Niranjana Vishwanathapura <nvishwan@codeaurora.org>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
arch/arm/mach-msm/board-qsd8x50.c
arch/arm/mach-msm/devices-qsd8x50.c

index 9e4cf24411223282d3aba0ef1e7cc6183be03eab..d5d5e441a52d8a8437c39f535bcf4d0023724a21 100644 (file)
@@ -76,6 +76,7 @@ module_init(msm_init_smc91x);
 
 static struct platform_device *devices[] __initdata = {
        &msm_device_uart3,
+       &msm_device_smd,
 };
 
 static void __init qsd8x50_map_io(void)
index 4d4a50785e344914ffee947cf64fae3664125a56..6fe67c5d1ae0aa3e7286f659b67acb8d11dd12fb 100644 (file)
@@ -48,6 +48,11 @@ struct platform_device msm_device_uart3 = {
        .resource       = resources_uart3,
 };
 
+struct platform_device msm_device_smd = {
+       .name   = "msm_smd",
+       .id     = -1,
+};
+
 struct clk msm_clocks_8x50[] = {
        CLK_PCOM("adm_clk",     ADM_CLK,        NULL, 0),
        CLK_PCOM("ebi1_clk",    EBI1_CLK,       NULL, CLK_MIN),