]> asedeno.scripts.mit.edu Git - linux.git/commit
power: suppy: ucs1002: Make the symbol 'ucs1002_regulator_enable' static
authorChen Wandun <chenwandun@huawei.com>
Fri, 20 Dec 2019 09:41:44 +0000 (17:41 +0800)
committerSebastian Reichel <sre@kernel.org>
Wed, 15 Jan 2020 20:31:07 +0000 (21:31 +0100)
commit577233a3f5637aff40e376572d5ed24ff80204d0
tree0c89e7fdd743d99ae9143aadc55890fc76b58318
parentd39284f21de799c8f23b19a048855ac208d59633
power: suppy: ucs1002: Make the symbol 'ucs1002_regulator_enable' static

Fix the following sparse warning:

drivers/power/supply/ucs1002_power.c:492:5: warning: symbol 'ucs1002_regulator_enable' was not declared. Should it be static?

Fixes: a3d70dacc727 ("power: suppy: ucs1002: disable power when max current is 0")
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ucs1002_power.c