Commit 0a4f8d07 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

V4L/DVB: event: Export the v4l2_event_init and v4l2_event_dequeue functions

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f3cd385a
...@@ -45,6 +45,7 @@ int v4l2_event_init(struct v4l2_fh *fh) ...@@ -45,6 +45,7 @@ int v4l2_event_init(struct v4l2_fh *fh)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(v4l2_event_init);
int v4l2_event_alloc(struct v4l2_fh *fh, unsigned int n) int v4l2_event_alloc(struct v4l2_fh *fh, unsigned int n)
{ {
...@@ -144,6 +145,7 @@ int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event, ...@@ -144,6 +145,7 @@ int v4l2_event_dequeue(struct v4l2_fh *fh, struct v4l2_event *event,
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(v4l2_event_dequeue);
/* Caller must hold fh->event->lock! */ /* Caller must hold fh->event->lock! */
static struct v4l2_subscribed_event *v4l2_event_subscribed( static struct v4l2_subscribed_event *v4l2_event_subscribed(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment