summaryrefslogtreecommitdiff
path: root/chip/ish/ish_persistent_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/ish/ish_persistent_data.c')
-rw-r--r--chip/ish/ish_persistent_data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chip/ish/ish_persistent_data.c b/chip/ish/ish_persistent_data.c
index c5168475d5..003f781d5f 100644
--- a/chip/ish/ish_persistent_data.c
+++ b/chip/ish/ish_persistent_data.c
@@ -4,6 +4,7 @@
*/
#include "common.h"
+#include "ec_commands.h"
#include "config.h"
#include "hooks.h"
#include "system.h"
@@ -13,7 +14,7 @@
struct ish_persistent_data ish_persistent_data = {
.magic = PERSISTENT_DATA_MAGIC,
- .reset_flags = RESET_FLAG_POWER_ON,
+ .reset_flags = EC_RESET_FLAG_POWER_ON,
.watchdog_counter = 0,
.panic_data = {0},
};