]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: bd718x7: Make some variable static
authorYueHaibing <yuehaibing@huawei.com>
Thu, 10 Sep 2020 03:42:40 +0000 (11:42 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 10 Sep 2020 12:50:30 +0000 (13:50 +0100)
commit7eeec85b1d6babe1c41e66dcf63b20ec40aa5cc7
tree7ae8b3bad869afc6f22e65e01dfbd0f13f6beaf7
parentc5503e07a65c4c0e95e22720271792f6ef3e5651
regulator: bd718x7: Make some variable static

Fix sparse warnings:

drivers/regulator/bd718x7-regulator.c:576:28: warning: symbol 'bd71847_swcontrol_ops' was not declared. Should it be static?
drivers/regulator/bd718x7-regulator.c:585:28: warning: symbol 'bd71847_hwcontrol_ops' was not declared. Should it be static?
drivers/regulator/bd718x7-regulator.c:902:28: warning: symbol 'bd71837_swcontrol_ops' was not declared. Should it be static?
drivers/regulator/bd718x7-regulator.c:913:28: warning: symbol 'bd71837_hwcontrol_ops' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-By: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20200910034240.37268-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd718x7-regulator.c