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 a4b8c45..546ea73 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;