fuel gauge: rk816: fix compile warning

Change-Id: I934f7a6b75c58d8827e0f0fa1838054608ff77f1
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2018-09-04 16:58:47 +08:00 committed by Jianhong Chen
parent 2146330a8a
commit 5166b2759b
1 changed files with 1 additions and 1 deletions

View File

@ -930,9 +930,9 @@ static int rk816_bat_get_charger_type(struct battery_priv *di)
static bool rk816_bat_need_initialize(struct battery_priv *di)
{
struct charge_animation_pdata *pdata;
bool initialize = false;
#ifdef CONFIG_DM_CHARGE_DISPLAY
struct charge_animation_pdata *pdata;
struct udevice *dev;
int est_voltage;