aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/vivi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c
index 17eb3ec5d704..b1e9592acb90 100644
--- a/drivers/media/video/vivi.c
+++ b/drivers/media/video/vivi.c
@@ -533,7 +533,7 @@ static void free_buffer(struct videobuf_queue *vq, struct vivi_buffer *buf)
533 BUG(); 533 BUG();
534 534
535 videobuf_vmalloc_free(&buf->vb); 535 videobuf_vmalloc_free(&buf->vb);
536 dprintk(dev, 1, "free_buffer: freed"); 536 dprintk(dev, 1, "free_buffer: freed\n");
537 buf->vb.state = VIDEOBUF_NEEDS_INIT; 537 buf->vb.state = VIDEOBUF_NEEDS_INIT;
538} 538}
539 539
@@ -1052,7 +1052,7 @@ static const struct file_operations vivi_fops = {
1052 .read = vivi_read, 1052 .read = vivi_read,
1053 .poll = vivi_poll, 1053 .poll = vivi_poll,
1054 .ioctl = video_ioctl2, /* V4L2 ioctl handler */ 1054 .ioctl = video_ioctl2, /* V4L2 ioctl handler */
1055 .compat_ioctl = v4l_compat_ioctl32, 1055 .compat_ioctl = v4l_compat_ioctl32,
1056 .mmap = vivi_mmap, 1056 .mmap = vivi_mmap,
1057 .llseek = no_llseek, 1057 .llseek = no_llseek,
1058}; 1058};