mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
event: Add a command
Add a command to show the available events. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user