diff options
| author | Simon Glass <[email protected]> | 2023-08-21 21:16:53 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-31 13:16:54 -0400 |
| commit | fb7dfca28ad256f27f89a79f96cb4617dc54731d (patch) | |
| tree | ffc3d95f0f6f7d4383c29f982a68e0f91e25c4f0 /include | |
| parent | 13123276806f5a2e209bd1ae16c894e0415e520d (diff) | |
event: Export event_type_name()
Export this function so it can be used with initcall debugging.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/event.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h index 0e3222c2e24..062b5847897 100644 --- a/include/event.h +++ b/include/event.h @@ -231,6 +231,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 * * It is possible to pass in union event_data here but that may not be |
