Commit 86d4c9ab authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown

ASoC: wm8994: 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: default avatarLars-Peter Clausen <lars@metafoo.de>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 15ab40a9
...@@ -1344,8 +1344,7 @@ static const char *adc_mux_text[] = { ...@@ -1344,8 +1344,7 @@ static const char *adc_mux_text[] = {
"DMIC", "DMIC",
}; };
static SOC_ENUM_SINGLE_DECL(adc_enum, static SOC_ENUM_SINGLE_VIRT_DECL(adc_enum, adc_mux_text);
0, 0, adc_mux_text);
static const struct snd_kcontrol_new adcl_mux = static const struct snd_kcontrol_new adcl_mux =
SOC_DAPM_ENUM_VIRT("ADCL Mux", adc_enum); SOC_DAPM_ENUM_VIRT("ADCL Mux", adc_enum);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment