mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
event: Export event_type_name()
Export this function so it can be used with initcall debugging. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -230,6 +230,14 @@ void event_show_spy_list(void);
|
||||
*/
|
||||
int event_manual_reloc(void);
|
||||
|
||||
/**
|
||||
* event_type_name() - Get the name of an event type
|
||||
*
|
||||
* @type: Type to check
|
||||
* Return: Name of event, or "(unknown)" if not known
|
||||
*/
|
||||
const char *event_type_name(enum event_t type);
|
||||
|
||||
/**
|
||||
* event_notify() - notify spies about an event
|
||||
*
|
||||
|
Reference in New Issue
Block a user