diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/google/chromeec/ec.c | 2 | ||||
-rw-r--r-- | src/ec/google/chromeec/ec.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec.c b/src/ec/google/chromeec/ec.c index 113de0ca2c..de7c317d93 100644 --- a/src/ec/google/chromeec/ec.c +++ b/src/ec/google/chromeec/ec.c @@ -257,7 +257,7 @@ static void google_chromeec_log_device_events(uint32_t mask) } } -static void google_chromeec_log_events(u32 mask) +void google_chromeec_log_events(u32 mask) { u8 event; u32 wake_mask; diff --git a/src/ec/google/chromeec/ec.h b/src/ec/google/chromeec/ec.h index 45d9b03df1..e4ad0ffb05 100644 --- a/src/ec/google/chromeec/ec.h +++ b/src/ec/google/chromeec/ec.h @@ -132,4 +132,7 @@ void google_chromeec_events_init(const struct google_chromeec_event_info *info, */ int google_chromeec_get_mkbp_event(struct ec_response_get_next_event *event); +/* Log host events to eventlog based on the mask provided. */ +void google_chromeec_log_events(u32 mask); + #endif /* _EC_GOOGLE_CHROMEEC_EC_H */ |