diff options
Diffstat (limited to 'driver/charger/rt9490.h')
-rw-r--r-- | driver/charger/rt9490.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/charger/rt9490.h b/driver/charger/rt9490.h index 0ea7746d8e..a6ace8c1eb 100644 --- a/driver/charger/rt9490.h +++ b/driver/charger/rt9490.h @@ -4,6 +4,8 @@ * * Richtek 5A 1-4 cell buck-boost switching battery charger driver. */ +#include <stdbool.h> + #ifndef __CROS_EC_RT9490_H #define __CROS_EC_RT9490_H @@ -241,4 +243,6 @@ extern const struct bc12_drv rt9490_bc12_drv; void rt9490_interrupt(int port); +int rt9490_enable_adc(int chgnum, bool en); + #endif /* __CROS_EC_RT9490_H */ |