提交 2e9bcacc 编写于 作者: S Samuel Zou 提交者: 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: NHulk Robot <hulkci@huawei.com>
Signed-off-by: NSamuel Zou <zou_wei@huawei.com>
Reviewed-by: NMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.com>
上级 fac1cd32
......@@ -1025,7 +1025,7 @@ static int bd9995x_fw_probe(struct bd9995x_device *bd)
return 0;
}
void bd9995x_chip_reset(void *bd)
static void bd9995x_chip_reset(void *bd)
{
__bd9995x_chip_reset(bd);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册