]> git.baikalelectronics.ru Git - kernel.git/commit
spi: meson-spicc: make symbol 'meson_spicc_pow2_clk_ops' static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 22 Sep 2022 04:08:07 +0000 (04:08 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 22 Sep 2022 11:33:20 +0000 (12:33 +0100)
commitbccf8f3aeaa7d51e5dc6aad792a94c6894db6319
treef5fff2a8a298928ca113ed8f9f43264359b1f7a3
parentaaf0fe85e8b03c39e9e1839d8f0bcc65a002b3de
spi: meson-spicc: make symbol 'meson_spicc_pow2_clk_ops' static

The sparse tool complains as follows:

drivers/spi/spi-meson-spicc.c:570:22: warning:
 symbol 'meson_spicc_pow2_clk_ops' was not declared. Should it be static?

This symbol is not used outside of spi-meson-spicc.c, so marks it static.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20220922040807.1409540-1-weiyongjun@huaweicloud.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-meson-spicc.c