提交 a8855e9c 编写于 作者: N Niranjana Vishwanathapura 提交者: Daniel Walker

msm: smd: enable smd on msm7x30 target

Add msm_smd device in the msm7x30 board file.
Signed-off-by: NNiranjana Vishwanathapura <nvishwan@codeaurora.org>
Signed-off-by: NDaniel Walker <dwalker@codeaurora.org>
上级 d9c8279b
...@@ -43,7 +43,7 @@ static struct platform_device *devices[] __initdata = { ...@@ -43,7 +43,7 @@ static struct platform_device *devices[] __initdata = {
#if defined(CONFIG_SERIAL_MSM) || defined(CONFIG_MSM_SERIAL_DEBUGGER) #if defined(CONFIG_SERIAL_MSM) || defined(CONFIG_MSM_SERIAL_DEBUGGER)
&msm_device_uart2, &msm_device_uart2,
#endif #endif
&msm_device_smd,
}; };
static void __init msm7x30_init_irq(void) static void __init msm7x30_init_irq(void)
......
...@@ -51,6 +51,11 @@ struct platform_device msm_device_uart2 = { ...@@ -51,6 +51,11 @@ struct platform_device msm_device_uart2 = {
.resource = resources_uart2, .resource = resources_uart2,
}; };
struct platform_device msm_device_smd = {
.name = "msm_smd",
.id = -1,
};
struct clk msm_clocks_7x30[] = { struct clk msm_clocks_7x30[] = {
CLK_PCOM("adm_clk", ADM_CLK, NULL, 0), CLK_PCOM("adm_clk", ADM_CLK, NULL, 0),
CLK_PCOM("adsp_clk", ADSP_CLK, NULL, 0), CLK_PCOM("adsp_clk", ADSP_CLK, NULL, 0),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册