ASoC: rt5682s: make rt5682s_aif2_dai_ops and rt5682s_soc_component_dev
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Sat, 18 Sep 2021 09:02:06 +0000 (17:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Sep 2021 12:38:09 +0000 (13:38 +0100)
commitcf21e114f6f44fdb06b7ceaaee5f2c360883bd74
tree4c78249ee1823cdf15b71b571cd3cdd7b46e9271
parent2266721938b9d12ebf4f2cd96b88912ffa4f5e91
ASoC: rt5682s: make rt5682s_aif2_dai_ops and rt5682s_soc_component_dev

This symbol is not used outside of rt5682s.c, so marks it static.

Fix the following sparse warning:

sound/soc/codecs/rt5682s.c:2848:39: warning: symbol
'rt5682s_soc_component_dev' was not declared. Should it be static?

sound/soc/codecs/rt5682s.c:2842:30: warning: symbol
'rt5682s_aif2_dai_ops' was not declared. Should it be static?

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1631955726-77693-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682s.c