ASoC: wm8741: Make function 'wm8741_mute' static
Subsystems (4)
PATCH 1/1 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 36b1599340b5 ("ASoC: wm8741: Add digital mute callback")
Signed-off-by Wei Yongjun <[email protected]>
--- sound/soc/codecs/wm8741.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/wm8741.c +1 -1
@@ -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;
Quoted 8 lines · Wei Yongjun
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 <[email protected]>---
Acked-by Charles Keepax <[email protected]>
Thanks,
Charles