aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorNiranjana Vishwanathapura <nvishwan@codeaurora.org>2010-10-06 16:52:11 -0400
committerDaniel Walker <dwalker@codeaurora.org>2010-10-11 18:14:02 -0400
commit88b522771079d7ab5f2334c8271bc13e1d309a5c (patch)
treea545ed127429d3d7016525ea7e372244d45d1f81 /arch/arm
parenta8855e9c093fdb35b40a707d580c75d523fed16e (diff)
msm: smd: enable smd on qsd8x50 target
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-msm/board-qsd8x50.c1
-rw-r--r--arch/arm/mach-msm/devices-qsd8x50.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c
index 9e4cf2441122..d5d5e441a52d 100644
--- a/arch/arm/mach-msm/board-qsd8x50.c
+++ b/arch/arm/mach-msm/board-qsd8x50.c
@@ -76,6 +76,7 @@ module_init(msm_init_smc91x);
76 76
77static struct platform_device *devices[] __initdata = { 77static struct platform_device *devices[] __initdata = {
78 &msm_device_uart3, 78 &msm_device_uart3,
79 &msm_device_smd,
79}; 80};
80 81
81static void __init qsd8x50_map_io(void) 82static void __init qsd8x50_map_io(void)
diff --git a/arch/arm/mach-msm/devices-qsd8x50.c b/arch/arm/mach-msm/devices-qsd8x50.c
index 4d4a50785e34..6fe67c5d1ae0 100644
--- a/arch/arm/mach-msm/devices-qsd8x50.c
+++ b/arch/arm/mach-msm/devices-qsd8x50.c
@@ -48,6 +48,11 @@ struct platform_device msm_device_uart3 = {
48 .resource = resources_uart3, 48 .resource = resources_uart3,
49}; 49};
50 50
51struct platform_device msm_device_smd = {
52 .name = "msm_smd",
53 .id = -1,
54};
55
51struct clk msm_clocks_8x50[] = { 56struct clk msm_clocks_8x50[] = {
52 CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), 57 CLK_PCOM("adm_clk", ADM_CLK, NULL, 0),
53 CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, CLK_MIN), 58 CLK_PCOM("ebi1_clk", EBI1_CLK, NULL, CLK_MIN),