sound: ASoC: Fix dependency on AC97_BUS
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Sep 2008 14:57:36 +0000 (15:57 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Sep 2008 06:18:16 +0000 (08:18 +0200)
When built with AC97 support the ASoC core depends on AC97_BUS so force
it to be available Kconfig.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/Kconfig

index 32ac940..4dfda66 100644 (file)
@@ -5,6 +5,7 @@
 menuconfig SND_SOC
        tristate "ALSA for SoC audio support"
        select SND_PCM
+       select AC97_BUS if SND_SOC_AC97_BUS
        ---help---
 
          If you want ASoC support, you should say Y here and also to the