From: Mark Brown Date: Mon, 13 Oct 2008 18:16:14 +0000 (+0100) Subject: ALSA: ASoC: Hide TLV320AIC26 configuration option for non-OpenFirwmare users X-Git-Tag: v2.6.28-rc1~102^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d5d8d83773165b951d190717637bfbc1eb0111a0;p=linux-2.6-omap-h63xx.git ALSA: ASoC: Hide TLV320AIC26 configuration option for non-OpenFirwmare users 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 4975d8573e4..38a0e3b620a 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -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