diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-10-16 23:00:27 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-10-19 00:43:51 +0000 |
commit | 70b257f1b47da274362179584dfb615d3bc6e365 (patch) | |
tree | a14637e47404c268862020f43dfe53d3316f4c13 /src/ec | |
parent | dd825fe73ec9832ff100955cf564dea68cee2d81 (diff) |
ec/google/chromeec: Export google_chromeec_log_events in ec.h
This change makes google_chromeec_log_events available to callers
outside ec.c.
BUG=b:67874513
Change-Id: I36cc1e66e035eda707297d8153cd3fabeadfee45
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/22090
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/ec')
-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 */ |