diff options
Diffstat (limited to 'include/charge_state.h')
-rw-r--r-- | include/charge_state.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/charge_state.h b/include/charge_state.h index a1e476209d..63c2df136e 100644 --- a/include/charge_state.h +++ b/include/charge_state.h @@ -120,17 +120,9 @@ int charge_get_battery_temp(int idx, int *temp_ptr); const struct batt_params *charger_current_battery_params(void); -/* Pick the right implementation */ -#ifdef CONFIG_CHARGER_V1 -#ifdef CONFIG_CHARGER_V2 -#error "Choose either CONFIG_CHARGER_V1 or CONFIG_CHARGER_V2, not both" -#else -#include "charge_state_v1.h" -#endif -#else /* not V1 */ +/* Config Charger */ #ifdef CONFIG_CHARGER_V2 #include "charge_state_v2.h" -#endif -#endif /* CONFIG_CHARGER_V1 */ +#endif /* CONFIG_CHARGER_V2 */ #endif /* __CROS_EC_CHARGE_STATE_H */ |