[ALSA] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG
authorManuel Lauss <mano@roarinelk.homelinux.net>
Fri, 8 Jun 2007 09:41:34 +0000 (11:41 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:11:25 +0000 (11:11 +0200)
Let SND_SOC_PCM_SH7760 depend on SH_DMABRG rather than select'ing it.
Gets rid of the Kbuild warning about SH_DMABRG being undefined on non-sh
builds.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/soc/sh/Kconfig

index a332e51d6887b40e85bd85a85cc7dee293270e01..f03220d23e73aa222b0172838958629a2b442ecc 100644 (file)
@@ -2,8 +2,7 @@ menu "SoC Audio support for SuperH"
 
 config SND_SOC_PCM_SH7760
        tristate "SoC Audio support for Renesas SH7760"
-       depends on CPU_SUBTYPE_SH7760 && SND_SOC
-       select SH_DMABRG
+       depends on CPU_SUBTYPE_SH7760 && SND_SOC && SH_DMABRG
        help
          Enable this option for SH7760 AC97/I2S audio support.