Re: [PATCH] power: supply: cpcap-charger: Make cpcap_charger_voltage_to_regval static

2019-10-21 Thread Sebastian Reichel
Hi, On Mon, Oct 21, 2019 at 11:40:07PM +0800, zhong jiang wrote: > The GCC complains the following case when compiling kernel. > > drivers/power/supply/cpcap-charger.c:563:5: warning: symbol > 'cpcap_charger_voltage_to_regval' was not declared. Should it be static? > > Signed-off-by: zhong

[PATCH] power: supply: cpcap-charger: Make cpcap_charger_voltage_to_regval static

2019-10-21 Thread zhong jiang
The GCC complains the following case when compiling kernel. drivers/power/supply/cpcap-charger.c:563:5: warning: symbol 'cpcap_charger_voltage_to_regval' was not declared. Should it be static? Signed-off-by: zhong jiang --- drivers/power/supply/cpcap-charger.c | 2 +- 1 file changed, 1