ASoC: jz4740: Improve build test coverage
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 22 Apr 2014 20:46:36 +0000 (22:46 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 23 Apr 2014 11:18:44 +0000 (12:18 +0100)
commit0aa2a15a7b5ca861b02379a7dcb2d7bf427c62cc
tree9accc68ec3c4adcb83561168c3fc2c1babb9f780
parent218e18a3728507ee82ed2eb10c789671a00e34bd
ASoC: jz4740: Improve build test coverage

Allow the jz4740 audio drivers to be build when CONFIG_COMPILE_TEST is selected.
This should improve the build test coverage. There is one small piece of
platform dependent code in the jz4740-i2s driver. It uses the DMA request type
constants which are defined in a platform specific header. We can solve this by
moving them from the platform specific header to the I2S driver.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/mips/include/asm/mach-jz4740/dma.h
sound/soc/jz4740/Kconfig
sound/soc/jz4740/jz4740-i2s.c