ASoC: bcm: add depends on HAS_DMA
authorScott Branden <scott.branden@broadcom.com>
Wed, 2 Nov 2016 20:43:24 +0000 (13:43 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 2 Nov 2016 20:57:05 +0000 (14:57 -0600)
add depends on HAS_DMA to Kconfig.  This fixes error reported
by kbuild test robot when building for ARCH=m32r:
ERROR: "bad_dma_ops" [sound/soc/bcm/snd-soc-cygnus.ko] undefined!

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/Kconfig

index d528aaceaad95bc6bae2147ebe66249629d2512e..edf367100ebd2f1701f4a32b2bfcc14b6cf978d3 100644 (file)
@@ -11,6 +11,7 @@ config SND_BCM2835_SOC_I2S
 config SND_SOC_CYGNUS
        tristate "SoC platform audio for Broadcom Cygnus chips"
        depends on ARCH_BCM_CYGNUS || COMPILE_TEST
+       depends on HAS_DMA
        help
          Say Y if you want to add support for ASoC audio on Broadcom
          Cygnus chips (bcm958300, bcm958305, bcm911360)