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>
This commit is contained in:
Furquan Shaikh 2017-10-16 23:00:27 -07:00 committed by Furquan Shaikh
parent dd825fe73e
commit 70b257f1b4
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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 */