aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-ioctl.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-05 04:10:48 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 10:02:25 -0400
commit4f996594ceaf6c3f9bc42b40c40b0f7f87b79c86 (patch)
treef2ba0120024627256917dc05a2d7c509ac056011 /include/media/v4l2-ioctl.h
parent3f70e1f598a6be4277e71516a98457fd3bddfbd0 (diff)
[media] v4l2: make vidioc_s_crop const
Write-only ioctls should have a const argument in the ioctl op. Do this conversion for vidioc_s_crop. Adding const for write-only ioctls was decided during the 2012 Media Workshop. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-ioctl.h')
-rw-r--r--include/media/v4l2-ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h
index fbeb00e2c109..e48b571ca37d 100644
--- a/include/media/v4l2-ioctl.h
+++ b/include/media/v4l2-ioctl.h
@@ -186,7 +186,7 @@ struct v4l2_ioctl_ops {
186 int (*vidioc_g_crop) (struct file *file, void *fh, 186 int (*vidioc_g_crop) (struct file *file, void *fh,
187 struct v4l2_crop *a); 187 struct v4l2_crop *a);
188 int (*vidioc_s_crop) (struct file *file, void *fh, 188 int (*vidioc_s_crop) (struct file *file, void *fh,
189 struct v4l2_crop *a); 189 const struct v4l2_crop *a);
190 int (*vidioc_g_selection) (struct file *file, void *fh, 190 int (*vidioc_g_selection) (struct file *file, void *fh,
191 struct v4l2_selection *s); 191 struct v4l2_selection *s);
192 int (*vidioc_s_selection) (struct file *file, void *fh, 192 int (*vidioc_s_selection) (struct file *file, void *fh,