提交 f6b45c28 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

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: NLars-Peter Clausen <lars@metafoo.de>
Acked-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 86d4c9ab
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册