Commit c101fb29 authored by YueHaibing's avatar YueHaibing Committed by Mark Brown

ASoC: wm8988: fix typo in wm8988_right_line_controls

sound/soc/codecs/wm8988.c:270:30: warning:
 wm8988_rline_enum defined but not used [-Wunused-const-variable=]

wm8988_rline_enum should be used in wm8988_right_line_controls.
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 5409fb4e ("ASoC: Add WM8988 CODEC driver")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190822143608.59824-1-yuehaibing@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 202acc56
...@@ -273,7 +273,7 @@ static const struct soc_enum wm8988_rline_enum = ...@@ -273,7 +273,7 @@ static const struct soc_enum wm8988_rline_enum =
wm8988_line_texts, wm8988_line_texts,
wm8988_line_values); wm8988_line_values);
static const struct snd_kcontrol_new wm8988_right_line_controls = static const struct snd_kcontrol_new wm8988_right_line_controls =
SOC_DAPM_ENUM("Route", wm8988_lline_enum); SOC_DAPM_ENUM("Route", wm8988_rline_enum);
/* Left Mixer */ /* Left Mixer */
static const struct snd_kcontrol_new wm8988_left_mixer_controls[] = { static const struct snd_kcontrol_new wm8988_left_mixer_controls[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment