ASoC: fix pxa-ssp compiling issue under mach-mmp
authorQiao Zhou <zhouqiao@marvell.com>
Mon, 4 Jun 2012 02:41:04 +0000 (10:41 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Jun 2012 04:26:15 +0000 (12:26 +0800)
commit972a55b62d592cfcd6d73577df8a52f1251ea9a7
treebc6741ceba16ad4d4274618abc26e13b5a87e070
parent601722157b3f6be73623644eeae6f14940f0bd8f
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>
include/linux/pxa2xx_ssp.h
sound/soc/pxa/pxa-ssp.c