summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/slippy/ec.c')
-rw-r--r--src/mainboard/google/slippy/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/slippy/ec.c b/src/mainboard/google/slippy/ec.c
index 5761a7c579..a3ee95bd0b 100644
--- a/src/mainboard/google/slippy/ec.c
+++ b/src/mainboard/google/slippy/ec.c
@@ -22,7 +22,7 @@ void mainboard_ec_init(void)
google_chromeec_events_init(&info, s3_wakeup);
if (s3_wakeup) {
/* Clear pending events. */
- while (google_chromeec_get_event() != 0)
+ while (google_chromeec_get_event() != EC_HOST_EVENT_NONE)
;
}