From: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri, 28 Feb 2014 07:31:09 +0000 (+0100)
Subject: ASoC: wm8994: Use SOC_ENUM_SINGLE_VIRT_DECL()
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86d4c9ab28b73f9eeb8cbd3b11cb2f2aee079a00;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git

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>
---

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[] = {
 	"DMIC",
 };
 
-static 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);