diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 11:31:10 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-01 07:03:36 +0400 |
commit | f6b45c28f451e8e415db49f693b2fec90c2cb557 (patch) | |
tree | 54565b2b6e601d504e3d19ca81a3f43f9be3d29d /sound | |
parent | 86d4c9ab28b73f9eeb8cbd3b11cb2f2aee079a00 (diff) | |
download | linux-f6b45c28f451e8e415db49f693b2fec90c2cb557.tar.xz |
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>
Diffstat (limited to 'sound')
-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[] = { "DMIC", }; -static const 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); |