diff options
-rw-r--r-- | drivers/media/video/videobuf-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/videobuf-dma-sg.c | 2 | ||||
-rw-r--r-- | drivers/media/video/videobuf-vmalloc.c | 2 | ||||
-rw-r--r-- | include/media/videobuf-core.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index c606332512b6..5599a36490fc 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c | |||
@@ -674,7 +674,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q, | |||
674 | } | 674 | } |
675 | 675 | ||
676 | /* Copy to userspace */ | 676 | /* Copy to userspace */ |
677 | retval=CALL(q,copy_to_user,q,data,count,nonblocking); | 677 | retval=CALL(q,video_copy_to_user,q,data,count,nonblocking); |
678 | if (retval<0) | 678 | if (retval<0) |
679 | goto done; | 679 | goto done; |
680 | 680 | ||
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c index 8bb7fdd306d6..3eb6123227b2 100644 --- a/drivers/media/video/videobuf-dma-sg.c +++ b/drivers/media/video/videobuf-dma-sg.c | |||
@@ -670,7 +670,7 @@ static struct videobuf_qtype_ops pci_ops = { | |||
670 | .sync = __videobuf_sync, | 670 | .sync = __videobuf_sync, |
671 | .mmap_free = __videobuf_mmap_free, | 671 | .mmap_free = __videobuf_mmap_free, |
672 | .mmap_mapper = __videobuf_mmap_mapper, | 672 | .mmap_mapper = __videobuf_mmap_mapper, |
673 | .copy_to_user = __videobuf_copy_to_user, | 673 | .video_copy_to_user = __videobuf_copy_to_user, |
674 | .copy_stream = __videobuf_copy_stream, | 674 | .copy_stream = __videobuf_copy_stream, |
675 | }; | 675 | }; |
676 | 676 | ||
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c index 2e3689a12a28..cd74341c984f 100644 --- a/drivers/media/video/videobuf-vmalloc.c +++ b/drivers/media/video/videobuf-vmalloc.c | |||
@@ -320,7 +320,7 @@ static struct videobuf_qtype_ops qops = { | |||
320 | .sync = __videobuf_sync, | 320 | .sync = __videobuf_sync, |
321 | .mmap_free = __videobuf_mmap_free, | 321 | .mmap_free = __videobuf_mmap_free, |
322 | .mmap_mapper = __videobuf_mmap_mapper, | 322 | .mmap_mapper = __videobuf_mmap_mapper, |
323 | .copy_to_user = __videobuf_copy_to_user, | 323 | .video_copy_to_user = __videobuf_copy_to_user, |
324 | .copy_stream = __videobuf_copy_stream, | 324 | .copy_stream = __videobuf_copy_stream, |
325 | }; | 325 | }; |
326 | 326 | ||
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h index 9fa09fb800a1..0fa5d5912555 100644 --- a/include/media/videobuf-core.h +++ b/include/media/videobuf-core.h | |||
@@ -133,7 +133,7 @@ struct videobuf_qtype_ops { | |||
133 | enum v4l2_memory memory); | 133 | enum v4l2_memory memory); |
134 | int (*sync) (struct videobuf_queue* q, | 134 | int (*sync) (struct videobuf_queue* q, |
135 | struct videobuf_buffer *buf); | 135 | struct videobuf_buffer *buf); |
136 | int (*copy_to_user) (struct videobuf_queue *q, | 136 | int (*video_copy_to_user)(struct videobuf_queue *q, |
137 | char __user *data, | 137 | char __user *data, |
138 | size_t count, | 138 | size_t count, |
139 | int nonblocking); | 139 | int nonblocking); |