]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mediatek: make function msdc_cqe_disable() static
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 27 Jul 2020 17:11:29 +0000 (01:11 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 5 Aug 2020 06:28:15 +0000 (08:28 +0200)
commit9ea24f34428d547290e97ed5b7849d125f2da548
tree8f19bfb888fba3c7d051b0918874e87656e4596b
parentc8c9e3ad8212c5f37a2dba367c9bbe818d26c254
mmc: mediatek: make function msdc_cqe_disable() static

The sparse tool complains as follows:

drivers/mmc/host/mtk-sd.c:2269:6: warning:
 symbol 'msdc_cqe_disable' was not declared. Should it be static?

This function is not used outside of mtk-sd.c, so this commit
marks it static.

Fixes: 8fa0f2cccb9d ("mmc: mediatek: command queue support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
Link: https://lore.kernel.org/r/20200727171129.2945-1-weiyongjun1@huawei.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c