aboutsummaryrefslogtreecommitdiff
path: root/common/event.c
diff options
context:
space:
mode:
authorSimon Glass2023-08-21 21:16:53 -0600
committerTom Rini2023-08-31 13:16:54 -0400
commitfb7dfca28ad256f27f89a79f96cb4617dc54731d (patch)
treeffc3d95f0f6f7d4383c29f982a68e0f91e25c4f0 /common/event.c
parent13123276806f5a2e209bd1ae16c894e0415e520d (diff)
event: Export event_type_name()
Export this function so it can be used with initcall debugging. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/event.c')
-rw-r--r--common/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/event.c b/common/event.c
index 7e2590eb040..55f6932ef62 100644
--- a/common/event.c
+++ b/common/event.c
@@ -49,7 +49,7 @@ const char *const type_name[] = {
_Static_assert(ARRAY_SIZE(type_name) == EVT_COUNT, "event type_name size");
#endif
-static const char *event_type_name(enum event_t type)
+const char *event_type_name(enum event_t type)
{
#if CONFIG_IS_ENABLED(EVENT_DEBUG)
return type_name[type];