Browse Source

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>
Niranjana Vishwanathapura 14 years ago
parent
commit
a8855e9c09
2 changed files with 6 additions and 1 deletions
  1. 1 1
      arch/arm/mach-msm/board-msm7x30.c
  2. 5 0
      arch/arm/mach-msm/devices-msm7x30.c

+ 1 - 1
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)

+ 5 - 0
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),