[ALSA] soc - Fix dependencies in Kconfig files
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Mar 2007 11:53:02 +0000 (12:53 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 14 Mar 2007 07:24:16 +0000 (08:24 +0100)
Fixed dependencies in Kconfig files of soc drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/soc/Kconfig
sound/soc/at91/Kconfig
sound/soc/pxa/Kconfig

index ec821a5..dccaa4b 100644 (file)
@@ -10,6 +10,8 @@ config SND_SOC_AC97_BUS
 
 config SND_SOC
        tristate "SoC audio support"
+       depends on SND
+       select SND_PCM
        ---help---
 
          If you want SoC support, you should say Y here and also to the
index 5bcf08b..a5b2558 100644 (file)
@@ -2,8 +2,7 @@ menu "SoC Audio for the Atmel AT91"
 
 config SND_AT91_SOC
        tristate "SoC Audio for the Atmel AT91 System-on-Chip"
-       depends on ARCH_AT91 && SND
-       select SND_PCM
+       depends on ARCH_AT91 && SND_SOC
        help
          Say Y or M if you want to add support for codecs attached to
          the AT91 SSC interface. You will also need
index 579e1c8..b9ab3b8 100644 (file)
@@ -2,8 +2,7 @@ menu "SoC Audio for the Intel PXA2xx"
 
 config SND_PXA2XX_SOC
        tristate "SoC Audio for the Intel PXA2xx chip"
-       depends on ARCH_PXA && SND
-       select SND_PCM
+       depends on ARCH_PXA && SND_SOC
        help
          Say Y or M if you want to add support for codecs attached to
          the PXA2xx AC97, I2S or SSP interface. You will also need