summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/adau1373.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-02-28 07:31:06 (GMT)
committerMark Brown <broonie@linaro.org>2014-03-01 03:03:34 (GMT)
commit28963178427386e83788d314d2a05f0c093f836a (patch)
treea510b32993a473598d8341287de97a84d8d3725c /sound/soc/codecs/adau1373.c
parentb948837a32cc2a510c2baf90111c8c5dde801a66 (diff)
downloadlinux-28963178427386e83788d314d2a05f0c093f836a.tar.xz
ASoC: adau1373: 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/adau1373.c')
-rw-r--r--sound/soc/codecs/adau1373.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c
index 5765c22..5223800 100644
--- a/sound/soc/codecs/adau1373.c
+++ b/sound/soc/codecs/adau1373.c
@@ -576,8 +576,8 @@ static const char *adau1373_decimator_text[] = {
"DMIC1",
};
-static SOC_ENUM_SINGLE_DECL(adau1373_decimator_enum,
- 0, 0, adau1373_decimator_text);
+static SOC_ENUM_SINGLE_VIRT_DECL(adau1373_decimator_enum,
+ adau1373_decimator_text);
static const struct snd_kcontrol_new adau1373_decimator_mux =
SOC_DAPM_ENUM_VIRT("Decimator Mux", adau1373_decimator_enum);