ASoC: mediatek: mt8192: Make some symbols static
authorZou Wei <zou_wei@huawei.com>
Thu, 5 Nov 2020 12:28:07 +0000 (20:28 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 5 Nov 2020 14:52:32 +0000 (14:52 +0000)
commitdf3d6390fa0ad48eecbe0b48acb4d364a70cd378
tree9ae123082162d2a785c29d3b3877dd2179f0880f
parent8bfe8c967546dc05385b52bac49ad972fea5887c
ASoC: mediatek: mt8192: Make some symbols static

Fix the following sparse warnings:

./mt8192-dai-i2s.c:2040:5: warning: symbol 'mt8192_dai_i2s_get_share' was not declared. Should it be static?
./mt8192-dai-i2s.c:2060:5: warning: symbol 'mt8192_dai_i2s_set_priv' was not declared. Should it be static?
./mt8192-afe-gpio.c:15:16: warning: symbol 'aud_pinctrl' was not declared. Should it be static?
./mt8192-afe-pcm.c:70:5: warning: symbol 'mt8192_get_memif_pbuf_size' was not declared. Should it be static?
./mt8192-afe-pcm.c:2137:39: warning: symbol 'mt8192_afe_component' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Acked-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Link: https://lore.kernel.org/r/1604579287-25251-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-afe-gpio.c
sound/soc/mediatek/mt8192/mt8192-afe-pcm.c
sound/soc/mediatek/mt8192/mt8192-dai-i2s.c