diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 02:31:10 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-28 22:03:36 -0500 |
commit | f6b45c28f451e8e415db49f693b2fec90c2cb557 (patch) | |
tree | 54565b2b6e601d504e3d19ca81a3f43f9be3d29d | |
parent | 86d4c9ab28b73f9eeb8cbd3b11cb2f2aee079a00 (diff) |
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>
-rw-r--r-- | sound/soc/codecs/wm8995.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c index 33ff361250a8..ddb197dc1d53 100644 --- a/sound/soc/codecs/wm8995.c +++ b/sound/soc/codecs/wm8995.c | |||
@@ -882,7 +882,7 @@ static const char *adc_mux_text[] = { | |||
882 | "DMIC", | 882 | "DMIC", |
883 | }; | 883 | }; |
884 | 884 | ||
885 | static const SOC_ENUM_SINGLE_DECL(adc_enum, 0, 0, adc_mux_text); | 885 | static SOC_ENUM_SINGLE_VIRT_DECL(adc_enum, adc_mux_text); |
886 | 886 | ||
887 | static const struct snd_kcontrol_new adcl_mux = | 887 | static const struct snd_kcontrol_new adcl_mux = |
888 | SOC_DAPM_ENUM_VIRT("ADCL Mux", adc_enum); | 888 | SOC_DAPM_ENUM_VIRT("ADCL Mux", adc_enum); |