diff options
-rw-r--r-- | board/lazor/board.h | 8 | ||||
-rw-r--r-- | include/driver/ln9310.h | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/board/lazor/board.h b/board/lazor/board.h index a6498671ee..d76bf6d689 100644 --- a/board/lazor/board.h +++ b/board/lazor/board.h @@ -114,14 +114,6 @@ enum battery_type { BATTERY_TYPE_COUNT, }; -/* Battery cell type */ -enum battery_cell_type { - BATTERY_CELL_TYPE_UNKNOWN = 0, - BATTERY_CELL_TYPE_2S = 2, - BATTERY_CELL_TYPE_3S = 3 -}; - -enum battery_cell_type board_get_battery_cell_type(void); /* Custom function to indicate if sourcing VBUS */ int board_is_sourcing_vbus(int port); /* Enable VBUS sink for a given port */ diff --git a/include/driver/ln9310.h b/include/driver/ln9310.h index 4cdcb156f5..07cff8ba97 100644 --- a/include/driver/ln9310.h +++ b/include/driver/ln9310.h @@ -185,4 +185,13 @@ void ln9310_interrupt(enum gpio_signal signal); /* Return the POWER_GOOD status */ int ln9310_power_good(void); +/* Battery cell type */ +enum battery_cell_type { + BATTERY_CELL_TYPE_UNKNOWN = 0, + BATTERY_CELL_TYPE_2S = 2, + BATTERY_CELL_TYPE_3S = 3 +}; + +enum battery_cell_type board_get_battery_cell_type(void); + #endif /* __CROS_EC_LN9310_H */ |