diff options
Diffstat (limited to 'include/media/videobuf2-core.h')
-rw-r--r-- | include/media/videobuf2-core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h index 6781258d0b67..bd8218b15009 100644 --- a/include/media/videobuf2-core.h +++ b/include/media/videobuf2-core.h | |||
@@ -391,7 +391,7 @@ unsigned long vb2_get_unmapped_area(struct vb2_queue *q, | |||
391 | unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); | 391 | unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait); |
392 | size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, | 392 | size_t vb2_read(struct vb2_queue *q, char __user *data, size_t count, |
393 | loff_t *ppos, int nonblock); | 393 | loff_t *ppos, int nonblock); |
394 | size_t vb2_write(struct vb2_queue *q, char __user *data, size_t count, | 394 | size_t vb2_write(struct vb2_queue *q, const char __user *data, size_t count, |
395 | loff_t *ppos, int nonblock); | 395 | loff_t *ppos, int nonblock); |
396 | 396 | ||
397 | /** | 397 | /** |
@@ -491,7 +491,7 @@ int vb2_ioctl_expbuf(struct file *file, void *priv, | |||
491 | 491 | ||
492 | int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma); | 492 | int vb2_fop_mmap(struct file *file, struct vm_area_struct *vma); |
493 | int vb2_fop_release(struct file *file); | 493 | int vb2_fop_release(struct file *file); |
494 | ssize_t vb2_fop_write(struct file *file, char __user *buf, | 494 | ssize_t vb2_fop_write(struct file *file, const char __user *buf, |
495 | size_t count, loff_t *ppos); | 495 | size_t count, loff_t *ppos); |
496 | ssize_t vb2_fop_read(struct file *file, char __user *buf, | 496 | ssize_t vb2_fop_read(struct file *file, char __user *buf, |
497 | size_t count, loff_t *ppos); | 497 | size_t count, loff_t *ppos); |