ASoC: wm8995: Use SOC_ENUM_SINGLE_VIRT_DECL()

For the upcoming consolidation for MUXs and virtual MUXs we need to mark virtual
enums as such.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Lars-Peter Clausen 2014-02-28 08:31:10 +01:00 committed by Mark Brown
parent 86d4c9ab28
commit f6b45c28f4

View File

@ -882,7 +882,7 @@ static const char *adc_mux_text[] = {
"DMIC",
};
static const SOC_ENUM_SINGLE_DECL(adc_enum, 0, 0, adc_mux_text);
static SOC_ENUM_SINGLE_VIRT_DECL(adc_enum, adc_mux_text);
static const struct snd_kcontrol_new adcl_mux =
SOC_DAPM_ENUM_VIRT("ADCL Mux", adc_enum);