ASoC: kirkwood: fix build failure
authorSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Mon, 23 May 2016 10:30:54 +0000 (16:00 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 23 May 2016 16:50:51 +0000 (17:50 +0100)
While building m32r allmodconfig the build failed with:
ERROR: "bad_dma_ops" [sound/soc/kirkwood/snd-soc-kirkwood.ko] undefined!

To satisfy the dependency CONFIG_SND_KIRKWOOD_SOC should depend on
HAS_DMA.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/kirkwood/Kconfig

index 132bb83f8e99aff300e13dc636dc41966d2b2dfb..bc3c7b5ac752e471fa39cf355ce7d53e067c165a 100644 (file)
@@ -1,6 +1,7 @@
 config SND_KIRKWOOD_SOC
        tristate "SoC Audio for the Marvell Kirkwood and Dove chips"
        depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
+       depends on HAS_DMA
        help
          Say Y or M if you want to add support for codecs attached to
          the Kirkwood I2S interface. You will also need to select the