summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNiranjana Vishwanathapura <nvishwan@codeaurora.org>2010-10-06 13:52:10 -0700
committerDaniel Walker <dwalker@codeaurora.org>2010-10-11 15:13:05 -0700
commita8855e9c093fdb35b40a707d580c75d523fed16e (patch)
tree562e5ebfc3c7b6dddb6eace6d7d2aaf34bfa3e0b /arch
parentd9c8279b326e18bcb25ee9d12fe7513d24f8bbb1 (diff)
downloadblackbird-op-linux-a8855e9c093fdb35b40a707d580c75d523fed16e.tar.gz
blackbird-op-linux-a8855e9c093fdb35b40a707d580c75d523fed16e.zip
msm: smd: enable smd on msm7x30 target
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-msm/board-msm7x30.c2
-rw-r--r--arch/arm/mach-msm/devices-msm7x30.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c
index 74abb74b4983..76d5a22a6984 100644
--- a/arch/arm/mach-msm/board-msm7x30.c
+++ b/arch/arm/mach-msm/board-msm7x30.c
@@ -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)
diff --git a/arch/arm/mach-msm/devices-msm7x30.c b/arch/arm/mach-msm/devices-msm7x30.c
index b449e8ad2904..7fcf2e3b7698 100644
--- a/arch/arm/mach-msm/devices-msm7x30.c
+++ b/arch/arm/mach-msm/devices-msm7x30.c
@@ -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),
OpenPOWER on IntegriCloud