Browse Source

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

+ 1 - 0
arch/arm/mach-msm/board-qsd8x50.c

@@ -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)

+ 5 - 0
arch/arm/mach-msm/devices-qsd8x50.c

@@ -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),