ALSA: ASoC: Hide TLV320AIC26 configuration option for non-OpenFirwmare users
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 13 Oct 2008 18:16:14 +0000 (19:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Oct 2008 05:43:45 +0000 (07:43 +0200)
Make the visibility of the tristate conditional on having the OpenFirmware
helper code enabed so that users who can't use it don't see the visible
option. Kconfig ignores dependencies for select so other users are
unaffected.

Thanks to Takashi for the suggestion.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/Kconfig

index 4975d8573e4f51414cf2a24c03943c56fd1eeb51..38a0e3b620a750ad4845ee861f18b323b74cf0f4 100644 (file)
@@ -68,7 +68,7 @@ config SND_SOC_TLV320AIC23
        depends on I2C
 
 config SND_SOC_TLV320AIC26
-       tristate "TI TLV320AIC26 Codec support"
+       tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE
        depends on SPI
 
 config SND_SOC_TLV320AIC3X