diff options
-rw-r--r-- | driver/charger/bq24192.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/charger/bq24192.c b/driver/charger/bq24192.c index 7bc191ac1b..c58bb0b006 100644 --- a/driver/charger/bq24192.c +++ b/driver/charger/bq24192.c @@ -36,12 +36,12 @@ static const struct charger_info bq24192_charger_info = { static const int input_current_steps[] = { 100, 150, 500, 900, 1200, 1500, 2000, 3000}; -int bq24192_read(int reg, int *value) +static int bq24192_read(int reg, int *value) { return i2c_read8(I2C_PORT_CHARGER, BQ24192_ADDR, reg, value); } -int bq24192_write(int reg, int value) +static int bq24192_write(int reg, int value) { return i2c_write8(I2C_PORT_CHARGER, BQ24192_ADDR, reg, value); } |