diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 08:31:09 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-01 12:03:35 +0900 |
commit | 86d4c9ab28b73f9eeb8cbd3b11cb2f2aee079a00 (patch) | |
tree | b30a885e37288862c6e07d76214e13dd1f682d12 /sound/soc/codecs/wm8994.c | |
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>
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-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[] = { "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); |