ei: expose ei_event_get_context() internally

This commit is contained in:
Peter Hutterer 2022-05-17 15:26:53 +10:00
parent 0d5ce5dd87
commit 8e95e8994b
2 changed files with 4 additions and 1 deletions

View file

@ -129,7 +129,7 @@ ei_event_new_for_device(struct ei_device *device)
return event;
}
static struct ei *
struct ei *
ei_event_get_context(struct ei_event *event)
{
return ei_event_parent(event);

View file

@ -235,6 +235,9 @@ ei_event_new(struct ei *ei);
struct ei_event *
ei_event_new_for_device(struct ei_device *device);
struct ei *
ei_event_get_context(struct ei_event *event);
struct ei_event *
ei_event_ref(struct ei_event *event);