Skip to content
Commit bc909f27 authored by Anton Vorontsov's avatar Anton Vorontsov
Browse files

da9052-battery: Fix da9052_determine_vc_tbl_index's return value



The patch fixes the following warnings:

  CHECK   drivers/power/da9052-battery.c
drivers/power/da9052-battery.c:330:15: warning: symbol 'da9052_determine_vc_tbl_index' was not declared. Should it be static?
  CC      drivers/power/da9052-battery.o
drivers/power/da9052-battery.c: In function 'da9052_determine_vc_tbl_index':
drivers/power/da9052-battery.c:348:1: warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent 6297b5e5
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