ASoC: Fix TWL4030 Kconfig dependency
authorArun KS <arunks@mistralsolutions.com>
Tue, 25 Nov 2008 04:26:12 +0000 (09:56 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 25 Nov 2008 15:28:47 +0000 (15:28 +0000)
Fixes Kconfig dependency of TWL4030 audio codec driver
with TWL4030 core driver on both overo and omap2evm
boards

Signed-off-by: Arun KS <arunks@mistralsolutions.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/Kconfig

index 6c56277..0900437 100644 (file)
@@ -24,7 +24,7 @@ config SND_OMAP_SOC_OSK5912
 
 config SND_OMAP_SOC_OVERO
        tristate "SoC Audio support for Gumstix Overo"
-       depends on SND_OMAP_SOC && MACH_OVERO
+       depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OVERO
        select SND_OMAP_SOC_MCBSP
        select SND_SOC_TWL4030
        help
@@ -32,7 +32,7 @@ config SND_OMAP_SOC_OVERO
 
 config SND_OMAP_SOC_OMAP2EVM
        tristate "SoC Audio support for OMAP2EVM board"
-       depends on SND_OMAP_SOC && MACH_OMAP2EVM
+       depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OMAP2EVM
        select SND_OMAP_SOC_MCBSP
        select SND_SOC_TWL4030
        help