]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt1019: make symbol 'rt1019_i2c_driver' static
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 19 Mar 2021 09:41:02 +0000 (09:41 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Mar 2021 12:24:07 +0000 (12:24 +0000)
commitaf6c1dcaf492fca1c5353193b118d7d1066cb8f5
treec765f03426a55a328772ac5cfbbe0087eed81b0a
parent2352fd6caf2f9175f8adfc7831a5ea0304e671f8
ASoC: rt1019: make symbol 'rt1019_i2c_driver' static

The sparse tool complains as follows:

sound/soc/codecs/rt1019.c:927:19: warning:
 symbol 'rt1019_i2c_driver' was not declared. Should it be static?

This symbol is not used outside of rt1019.c, so this
commit marks it static.

Fixes: 8e8b0db7399b ("ASoC: rt1019: add rt1019 amplifier driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20210319094102.4185096-1-weiyongjun1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1019.c