[alsa-devel] [PATCH] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG

Manuel Lauss mano at roarinelk.homelinux.net
Thu Jun 7 11:39:02 CEST 2007


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 at roarinelk.homelinux.net>


--- linux-2.6.22-rc4-mm2/sound/soc/sh/Kconfig~	2007-06-07 11:09:30.000000000 +0200
+++ linux-2.6.22-rc4-mm2/sound/soc/sh/Kconfig	2007-06-07 11:09:30.000000000 +0200
@@ -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.
 


More information about the Alsa-devel mailing list