fuel gauge: rk816: fix compile warning
Change-Id: I934f7a6b75c58d8827e0f0fa1838054608ff77f1 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
2146330a8a
commit
5166b2759b
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue