diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-10-13 14:16:14 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-14 01:43:45 -0400 |
commit | d5d8d83773165b951d190717637bfbc1eb0111a0 (patch) | |
tree | cdbcb1055f363d3b8ad071c884f628280a24ab2a /sound/soc | |
parent | 4aa02396f934b355a4002ea9bc524aa42d6b53d6 (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 4975d8573e4f..38a0e3b620a7 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig | |||
@@ -68,7 +68,7 @@ config SND_SOC_TLV320AIC23 | |||
68 | depends on I2C | 68 | depends on I2C |
69 | 69 | ||
70 | config SND_SOC_TLV320AIC26 | 70 | config SND_SOC_TLV320AIC26 |
71 | tristate "TI TLV320AIC26 Codec support" | 71 | tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE |
72 | depends on SPI | 72 | depends on SPI |
73 | 73 | ||
74 | config SND_SOC_TLV320AIC3X | 74 | config SND_SOC_TLV320AIC3X |