]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: imx-card: Make some symbols static
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 24 May 2021 13:35:53 +0000 (13:35 +0000)
committerMark Brown <broonie@sirena.org.uk>
Tue, 25 May 2021 15:45:07 +0000 (16:45 +0100)
commitef4bba8cc25e2c2226fb55f76cba7efe790f2cdb
tree5d94d5fed1dd5436ee60e6cfd726de91e3372452
parent0bedff888468c8a38c67e373dd314c74030bfc34
ASoC: imx-card: Make some symbols static

The sparse tool complains as follows:

sound/soc/fsl/imx-card.c:121:27: warning:
 symbol 'ak4458_fs_mul' was not declared. Should it be static?
sound/soc/fsl/imx-card.c:138:31: warning:
 symbol 'ak4458_tdm_fs_mul' was not declared. Should it be static?
sound/soc/fsl/imx-card.c:149:27: warning:
 symbol 'ak4497_fs_mul' was not declared. Should it be static?
sound/soc/fsl/imx-card.c:166:27: warning:
 symbol 'ak5558_fs_mul' was not declared. Should it be static?
sound/soc/fsl/imx-card.c:180:31: warning:
 symbol 'ak5558_tdm_fs_mul' was not declared. Should it be static?

Those symbols are not used outside of imx-card.c, so marks
them static.

Fixes: 53eb042a8665 ("ASoC: imx-card: Add imx-card machine driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Message-Id: <20210524133553.2366502-1-weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@sirena.org.uk>
sound/soc/fsl/imx-card.c