diff options
author | Simon Glass <sjg@chromium.org> | 2022-03-04 08:43:06 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-10 08:28:36 -0500 |
commit | c81b460c860a81124af65d78724d34c1a815e3fe (patch) | |
tree | b0f6b8904ed9afd24cd18f94aba63213c021feff /include | |
parent | 7fe32b3442f0d0e77a0768dcc1ee65fb352a080a (diff) |
event: Add a command
Add a command to show the available events.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/event.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h index 78a42374ac..62e72a7bd3 100644 --- a/include/event.h +++ b/include/event.h @@ -141,6 +141,9 @@ static inline const char *event_spy_id(struct evspy_info *spy) int event_register(const char *id, enum event_t type, event_handler_t func, void *ctx); +/** event_show_spy_list( - Show a list of event spies */ +void event_show_spy_list(void); + #if CONFIG_IS_ENABLED(EVENT) /** * event_notify() - notify spies about an event |