summaryrefslogtreecommitdiff
path: root/driver/charger/bq25710.h
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2018-09-05 16:47:16 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-10-02 05:19:06 -0700
commitaa6ed242cb720f95b7be4a8316c1011841fb6fc0 (patch)
tree17b646c275acf6e6754ffa789e38b558a5b80b73 /driver/charger/bq25710.h
parent878eb16571ac410257cdbeef5a93354b53e03d7f (diff)
downloadchrome-ec-aa6ed242cb720f95b7be4a8316c1011841fb6fc0.tar.gz
bq25710: Fix issue with HW ramp support
The HW ramp code was not being built previously. This CL fixes a macro name and adds the 2 .h files needed so it will build correctly. BUG=b:113267982 BRANCH=none TEST=make -j BOARD=dragonegg Change-Id: I3f074acea89b08f534b660e9f45019a716659272 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1208521 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'driver/charger/bq25710.h')
-rw-r--r--driver/charger/bq25710.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/charger/bq25710.h b/driver/charger/bq25710.h
index 317bfee074..902ea17d82 100644
--- a/driver/charger/bq25710.h
+++ b/driver/charger/bq25710.h
@@ -11,7 +11,7 @@
/* SMBUS Interface */
#define BQ25710_SMBUS_ADDR1 0x12
-#define BQ25703_BC12_MIN_VOLTAGE_MV 1408
+#define BQ25710_BC12_MIN_VOLTAGE_MV 1408
/* Registers */
#define BQ25710_REG_CHARGE_OPTION_0 0x12