Commit 2e9bcacc authored by Samuel Zou's avatar Samuel Zou Committed by Sebastian Reichel

power: supply: Make bd9995x_chip_reset static

Fix the following sparse warning:

drivers/power/supply/bd99954-charger.c:1028:6: warning: symbol 'bd9995x_chip_reset' was not declared.

The bd9995x_chip_reset() has only one call site within bd99954-charger.c
It should be static

Fixes: 0902f836 ("power: supply: Support ROHM bd99954 charger")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarSamuel Zou <zou_wei@huawei.com>
Reviewed-by: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent fac1cd32
...@@ -1025,7 +1025,7 @@ static int bd9995x_fw_probe(struct bd9995x_device *bd) ...@@ -1025,7 +1025,7 @@ static int bd9995x_fw_probe(struct bd9995x_device *bd)
return 0; return 0;
} }
void bd9995x_chip_reset(void *bd) static void bd9995x_chip_reset(void *bd)
{ {
__bd9995x_chip_reset(bd); __bd9995x_chip_reset(bd);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment