summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/sbs_charging_v2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sbs_charging_v2.c b/test/sbs_charging_v2.c
index f47e349672..0b12aea739 100644
--- a/test/sbs_charging_v2.c
+++ b/test/sbs_charging_v2.c
@@ -124,7 +124,7 @@ enum ec_status charger_profile_override_set_param(uint32_t param,
test_static int wait_charging_state(void)
{
- enum charge_state state;
+ enum led_pwr_state state;
task_wake(TASK_ID_CHARGER);
msleep(WAIT_CHARGER_TASK);
state = charge_get_state();
@@ -206,7 +206,7 @@ test_static void ev_clear(int event)
test_static int test_charge_state(void)
{
- enum charge_state state;
+ enum led_pwr_state state;
uint32_t flags;
/* On AC */
@@ -519,7 +519,7 @@ test_static int test_external_funcs(void)
#define CHG_OPT2 0x4000
test_static int test_hc_charge_state(void)
{
- enum charge_state state;
+ enum led_pwr_state state;
int i, rv, tmp;
struct ec_params_charge_state params;
struct ec_response_charge_state resp;