summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQiao Zhou <zhouqiao@marvell.com>2012-06-04 10:41:04 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-11 12:26:15 +0800
commit972a55b62d592cfcd6d73577df8a52f1251ea9a7 (patch)
treebc6741ceba16ad4d4274618abc26e13b5a87e070 /include
parent601722157b3f6be73623644eeae6f14940f0bd8f (diff)
downloadlinux-972a55b62d592cfcd6d73577df8a52f1251ea9a7.tar.bz2
ASoC: fix pxa-ssp compiling issue under mach-mmp
pxa-ssp.c uses API like cpu_is_pxa3xx(), cpu_is_pxa2xx(), which is defined under arch-pxa architecture, and drivers under mach-mmp can't find it. so just use ssp->type to replace that API. Signed-off-by: Qiao Zhou <zhouqiao@marvell.com> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pxa2xx_ssp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h
index f9fe15ec2b51..f36632061c66 100644
--- a/include/linux/pxa2xx_ssp.h
+++ b/include/linux/pxa2xx_ssp.h
@@ -160,6 +160,7 @@ enum pxa_ssp_type {
PXA25x_SSP, /* pxa 210, 250, 255, 26x */
PXA25x_NSSP, /* pxa 255, 26x (including ASSP) */
PXA27x_SSP,
+ PXA3xx_SSP,
PXA168_SSP,
PXA910_SSP,
CE4100_SSP,