diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 02:31:09 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-28 22:03:35 -0500 |
commit | 86d4c9ab28b73f9eeb8cbd3b11cb2f2aee079a00 (patch) | |
tree | b30a885e37288862c6e07d76214e13dd1f682d12 | |
parent | 15ab40a9a83035d92b4f4c83cb88c7529bf73c71 (diff) |
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: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/wm8994.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 699b527e2a77..79854cb7feb6 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -1344,8 +1344,7 @@ static const char *adc_mux_text[] = { | |||
1344 | "DMIC", | 1344 | "DMIC", |
1345 | }; | 1345 | }; |
1346 | 1346 | ||
1347 | static SOC_ENUM_SINGLE_DECL(adc_enum, | 1347 | static SOC_ENUM_SINGLE_VIRT_DECL(adc_enum, adc_mux_text); |
1348 | 0, 0, adc_mux_text); | ||
1349 | 1348 | ||
1350 | static const struct snd_kcontrol_new adcl_mux = | 1349 | static const struct snd_kcontrol_new adcl_mux = |
1351 | SOC_DAPM_ENUM_VIRT("ADCL Mux", adc_enum); | 1350 | SOC_DAPM_ENUM_VIRT("ADCL Mux", adc_enum); |