summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/pxa2xx-pcm.c
diff options
context:
space:
mode:
authorArnd Bergmann2014-05-04 05:25:21 +0200
committerMark Brown2014-05-21 00:14:49 +0200
commitb45281412a6334ab2be5d7e449c98f50fb424a78 (patch)
tree9ee9ac0e28ec2f5802349ff6e8e0db64d8804a49 /sound/soc/pxa/pxa2xx-pcm.c
parentASoC: pxa: TTC DKB audio needs I2C (diff)
downloadkernel-qcow2-linux-b45281412a6334ab2be5d7e449c98f50fb424a78.tar.gz
kernel-qcow2-linux-b45281412a6334ab2be5d7e449c98f50fb424a78.tar.xz
kernel-qcow2-linux-b45281412a6334ab2be5d7e449c98f50fb424a78.zip
ASoC: pxa: remove mach header dependency
As we are moving the mmp platform towards multiplatform support, we have to stop including platform header files. This changes the pxa-ssp sound driver file to no longer depend on mach/hardware.h and mach/dma.h. The code using the definitions from those headers is actually gone already, the only thing that was still being used was the pxa_dma_desc typedef, which we can easily work around by using the normal 'struct pxa_dma_desc' name. The pxa2xx-dma driver still uses this header, so we include it explicitly there, which is ok because that is only used on pxa, not on mmp. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/pxa/pxa2xx-pcm.c')
-rw-r--r--sound/soc/pxa/pxa2xx-pcm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index d58b09f4f7a4..42f2f0175981 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -15,6 +15,8 @@
#include <linux/dmaengine.h>
#include <linux/of.h>
+#include <mach/dma.h>
+
#include <sound/core.h>
#include <sound/soc.h>
#include <sound/pxa2xx-lib.h>