]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Make symbol 'atc260x_i2c_of_match' static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 11 Mar 2021 13:15:07 +0000 (13:15 +0000)
committerLee Jones <lee.jones@linaro.org>
Wed, 14 Apr 2021 15:06:15 +0000 (16:06 +0100)
commit5743a2d8025ff107415a50942dcf35819ce3213a
treea7c05d0540a4b13421673338ffa5930212af0208
parentc5dc25eb82cf658301055f55aaacd73d4c8b332c
mfd: Make symbol 'atc260x_i2c_of_match' static

The sparse tool complains as follows:

drivers/mfd/atc260x-i2c.c:45:27: warning:
 symbol 'atc260x_i2c_of_match' was not declared. Should it be static?

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

Fixes: f970ccb236b0 ("mfd: Add MFD driver for ATC260x PMICs")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/atc260x-i2c.c