]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bc6d5de5b9c9666206ad4072f14e081d76a7e66
treebc6741ceba16ad4d4274618abc26e13b5a87e070
parent3c09087de5a32e55f940f3d4801408e0cd260c04
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