summaryrefslogtreecommitdiff
path: root/drivers/power/battery/bat_trats2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/battery/bat_trats2.c')
-rw-r--r--drivers/power/battery/bat_trats2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/battery/bat_trats2.c b/drivers/power/battery/bat_trats2.c
index 94015aa..57221ad 100644
--- a/drivers/power/battery/bat_trats2.c
+++ b/drivers/power/battery/bat_trats2.c
@@ -17,7 +17,7 @@ static int power_battery_charge(struct pmic *bat)
{
struct power_battery *p_bat = bat->pbat;
- if (bat->chrg->chrg_state(p_bat->chrg, CHARGER_ENABLE, 450))
+ if (bat->chrg->chrg_state(p_bat->chrg, PMIC_CHARGER_ENABLE, 450))
return -1;
return 0;