]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ASoC: wm8741: Make function 'wm8741_mute' static
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 16 Feb 2019 01:35:56 +0000 (01:35 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Feb 2019 11:42:49 +0000 (11:42 +0000)
Fixes the following sparse warning:

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

Fixes: 36b1599340b5 ("ASoC: wm8741: Add digital mute callback")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8741.c

index a4b8c459ea57b3e9214c56b705f719faaac0cbd9..546ea735f53411b45d632d72cc7554d8f16a3aa4 100644 (file)
@@ -368,7 +368,7 @@ static int wm8741_set_dai_fmt(struct snd_soc_dai *codec_dai,
        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;