aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vino.c
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 /drivers/media/platform/vino.c
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 'drivers/media/platform/vino.c')
-rw-r--r--drivers/media/platform/vino.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vino.c b/drivers/media/platform/vino.c
index aae1720b2f2d..790d96cffeea 100644
--- a/drivers/media/platform/vino.c
+++ b/drivers/media/platform/vino.c
@@ -3284,7 +3284,7 @@ static int vino_g_crop(struct file *file, void *__fh,
3284} 3284}
3285 3285
3286static int vino_s_crop(struct file *file, void *__fh, 3286static int vino_s_crop(struct file *file, void *__fh,
3287 struct v4l2_crop *c) 3287 const struct v4l2_crop *c)
3288{ 3288{
3289 struct vino_channel_settings *vcs = video_drvdata(file); 3289 struct vino_channel_settings *vcs = video_drvdata(file);
3290 unsigned long flags; 3290 unsigned long flags;