Commit 76a60f31 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown

ASoC: wm8741: Make function 'wm8741_mute' static

Fixes the following sparse warning:

sound/soc/codecs/wm8741.c:371:5: warning:
 symbol 'wm8741_mute' was not declared. Should it be static?

Fixes: 36b15993 ("ASoC: wm8741: Add digital mute callback")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8fa857da
...@@ -368,7 +368,7 @@ static int wm8741_set_dai_fmt(struct snd_soc_dai *codec_dai, ...@@ -368,7 +368,7 @@ static int wm8741_set_dai_fmt(struct snd_soc_dai *codec_dai,
return 0; return 0;
} }
int wm8741_mute(struct snd_soc_dai *codec_dai, int mute) static int wm8741_mute(struct snd_soc_dai *codec_dai, int mute)
{ {
struct snd_soc_component *component = codec_dai->component; struct snd_soc_component *component = codec_dai->component;
......
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