All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH FOR 2.6.35] v4l: event: Export the v4l2_event_init and v4l2_event_dequeue functions
@ 2010-05-02 17:32 Laurent Pinchart
  2010-05-02 17:46 ` Sakari Ailus
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2010-05-02 17:32 UTC (permalink / raw)
  To: sakari.ailus, linux-media

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/media/video/v4l2-event.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

 Sakari, this should go to 2.6.35 with the V4L2 events patch set. Could you ack
 the patch so that Mauro can apply it to his linux-next tree ?

 Regards,

 Laurent Pinchart

diff --git a/drivers/media/video/v4l2-event.c b/drivers/media/video/v4l2-event.c
index 170e40f..2e673fb 100644
--- a/drivers/media/video/v4l2-event.c
+++ b/drivers/media/video/v4l2-event.c
@@ -45,6 +45,7 @@ int v4l2_event_init(struct v4l2_fh *fh)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(v4l2_event_init);
 
 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,
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(v4l2_event_dequeue);
 
 /* Caller must hold fh->event->lock! */
 static struct v4l2_subscribed_event *v4l2_event_subscribed(
-- 
1.6.4.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH FOR 2.6.35] v4l: event: Export the v4l2_event_init and v4l2_event_dequeue functions
  2010-05-02 17:32 [PATCH FOR 2.6.35] v4l: event: Export the v4l2_event_init and v4l2_event_dequeue functions Laurent Pinchart
@ 2010-05-02 17:46 ` Sakari Ailus
  0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2010-05-02 17:46 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-media

Laurent Pinchart wrote:
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  drivers/media/video/v4l2-event.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
>  Sakari, this should go to 2.6.35 with the V4L2 events patch set. Could you ack
>  the patch so that Mauro can apply it to his linux-next tree ?

Thanks for the patch, Laurent!

I understand this should go in to allow drivers not using video_ioctl2()
to support events as well, right?

Thus,

Acked-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>

>  Regards,
> 
>  Laurent Pinchart
> 
> diff --git a/drivers/media/video/v4l2-event.c b/drivers/media/video/v4l2-event.c
> index 170e40f..2e673fb 100644
> --- a/drivers/media/video/v4l2-event.c
> +++ b/drivers/media/video/v4l2-event.c
> @@ -45,6 +45,7 @@ int v4l2_event_init(struct v4l2_fh *fh)
>  
>  	return 0;
>  }
> +EXPORT_SYMBOL_GPL(v4l2_event_init);
>  
>  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,
>  
>  	return ret;
>  }
> +EXPORT_SYMBOL_GPL(v4l2_event_dequeue);
>  
>  /* Caller must hold fh->event->lock! */
>  static struct v4l2_subscribed_event *v4l2_event_subscribed(


-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-02 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-02 17:32 [PATCH FOR 2.6.35] v4l: event: Export the v4l2_event_init and v4l2_event_dequeue functions Laurent Pinchart
2010-05-02 17:46 ` Sakari Ailus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.