summaryrefslogtreecommitdiff
path: root/driver/charger/rt946x.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/charger/rt946x.c')
-rw-r--r--driver/charger/rt946x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/charger/rt946x.c b/driver/charger/rt946x.c
index 1736af0794..492cf5904b 100644
--- a/driver/charger/rt946x.c
+++ b/driver/charger/rt946x.c
@@ -602,7 +602,7 @@ int charger_post_init(void)
if (rv)
return rv;
/* Disable ILIM pin */
- rv = rt946x_enable_ilim(0);
+ rv = rt946x_enable_ilim_pin(0);
if (rv)
return rv;
#endif