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)
commitd5bd87e3a39e2f696583357899fefe1f4c6987c1
tree5d94d5fed1dd5436ee60e6cfd726de91e3372452
parent2eadc04d83f6c791784190208fd77dac3a2c052b
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: aa736700f42f ("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