On Thu, Jun 07, 2007 at 04:11:38PM +0900, Paul Mundt wrote:
---
Make SND_SOC_PCM_SH7760 depend on SH_DMABRG rather than selecting it
Fixes Kconfig warning about undefined SH_DMABRG symbol on non-sh builds.
Signed-off-by: Manuel Lauss <mano@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.
-