diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 02:31:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-28 22:03:35 -0500 |
commit | ba513116403bc93072dd54a1f89dacdb4d89fcab (patch) | |
tree | 31468a2afb8d948e6c8b7d4d15664facf8013637 /sound/soc/codecs/max98090.c | |
parent | 28963178427386e83788d314d2a05f0c093f836a (diff) |
ASoC: max98090: 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>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/max98090.c')
-rw-r--r-- | sound/soc/codecs/max98090.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index c7b9e901bdac..1686ade2a429 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c | |||
@@ -871,7 +871,7 @@ static const struct snd_kcontrol_new max98090_mic2_mux = | |||
871 | 871 | ||
872 | static const char *dmic_mux_text[] = { "ADC", "DMIC" }; | 872 | static const char *dmic_mux_text[] = { "ADC", "DMIC" }; |
873 | 873 | ||
874 | static SOC_ENUM_SINGLE_EXT_DECL(dmic_mux_enum, dmic_mux_text); | 874 | static SOC_ENUM_SINGLE_VIRT_DECL(dmic_mux_enum, dmic_mux_text); |
875 | 875 | ||
876 | static const struct snd_kcontrol_new max98090_dmic_mux = | 876 | static const struct snd_kcontrol_new max98090_dmic_mux = |
877 | SOC_DAPM_ENUM_VIRT("DMIC Mux", dmic_mux_enum); | 877 | SOC_DAPM_ENUM_VIRT("DMIC Mux", dmic_mux_enum); |