diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-11-21 15:18:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-01 20:10:23 -0200 |
commit | 4aa275975beee41fd542a0f6df8cd0fee06089bf (patch) | |
tree | 67896fb85b3a89838d0d91fee89622e3ec210135 /drivers/media/video/uvc/uvcvideo.h | |
parent | 8e815e1763b8d4e5adf0dc14bde8c55329cf95a8 (diff) | |
download | op-kernel-dev-4aa275975beee41fd542a0f6df8cd0fee06089bf.zip op-kernel-dev-4aa275975beee41fd542a0f6df8cd0fee06089bf.tar.gz |
[media] uvcvideo: Move mmap() handler to uvc_queue.c
The mmap() implementation belongs to the video buffers queue, move it
there.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvcvideo.h')
-rw-r--r-- | drivers/media/video/uvc/uvcvideo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h index 4520924..ea893bc 100644 --- a/drivers/media/video/uvc/uvcvideo.h +++ b/drivers/media/video/uvc/uvcvideo.h @@ -574,6 +574,8 @@ extern int uvc_queue_enable(struct uvc_video_queue *queue, int enable); extern void uvc_queue_cancel(struct uvc_video_queue *queue, int disconnect); extern struct uvc_buffer *uvc_queue_next_buffer(struct uvc_video_queue *queue, struct uvc_buffer *buf); +extern int uvc_queue_mmap(struct uvc_video_queue *queue, + struct vm_area_struct *vma); extern unsigned int uvc_queue_poll(struct uvc_video_queue *queue, struct file *file, poll_table *wait); extern int uvc_queue_allocated(struct uvc_video_queue *queue); |