]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: remove mach header dependency
authorArnd Bergmann <arnd@arndb.de>
Sun, 4 May 2014 03:25:21 +0000 (11:25 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 20 May 2014 22:14:49 +0000 (23:14 +0100)
commitb0a250f0b11438d5efe10fc71eb23569aa83a8ab
tree9ee9ac0e28ec2f5802349ff6e8e0db64d8804a49
parent168bd11eff6f08e310a38f29a8aac2839df1bc4f
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>
sound/arm/pxa2xx-pcm.c
sound/arm/pxa2xx-pcm.h
sound/soc/pxa/pxa-ssp.c
sound/soc/pxa/pxa2xx-pcm.c