提交 60172215 编写于 作者: Q Qiao Zhou 提交者: Mark Brown

ARM: MMP: add pxa910-ssp into ssp_id_table

add pxa910-ssp into ssp_id_table, and fix pxa-ssp compiling issue
under mach-mmp architect.
Signed-off-by: NQiao Zhou <zhouqiao@marvell.com>
Acked-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 69c5b753
...@@ -193,6 +193,7 @@ static const struct platform_device_id ssp_id_table[] = { ...@@ -193,6 +193,7 @@ static const struct platform_device_id ssp_id_table[] = {
{ "pxa25x-nssp", PXA25x_NSSP }, { "pxa25x-nssp", PXA25x_NSSP },
{ "pxa27x-ssp", PXA27x_SSP }, { "pxa27x-ssp", PXA27x_SSP },
{ "pxa168-ssp", PXA168_SSP }, { "pxa168-ssp", PXA168_SSP },
{ "pxa910-ssp", PXA910_SSP },
{ }, { },
}; };
......
...@@ -161,6 +161,7 @@ enum pxa_ssp_type { ...@@ -161,6 +161,7 @@ enum pxa_ssp_type {
PXA25x_NSSP, /* pxa 255, 26x (including ASSP) */ PXA25x_NSSP, /* pxa 255, 26x (including ASSP) */
PXA27x_SSP, PXA27x_SSP,
PXA168_SSP, PXA168_SSP,
PXA910_SSP,
CE4100_SSP, CE4100_SSP,
}; };
......
...@@ -43,7 +43,7 @@ struct pxa2xx_spi_chip { ...@@ -43,7 +43,7 @@ struct pxa2xx_spi_chip {
void (*cs_control)(u32 command); void (*cs_control)(u32 command);
}; };
#ifdef CONFIG_ARCH_PXA #if defined(CONFIG_ARCH_PXA) || defined(CONFIG_ARCH_MMP)
#include <linux/clk.h> #include <linux/clk.h>
#include <mach/dma.h> #include <mach/dma.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册