[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>
这个提交包含在:
@@ -3284,7 +3284,7 @@ static int vino_g_crop(struct file *file, void *__fh,
|
||||
}
|
||||
|
||||
static int vino_s_crop(struct file *file, void *__fh,
|
||||
struct v4l2_crop *c)
|
||||
const struct v4l2_crop *c)
|
||||
{
|
||||
struct vino_channel_settings *vcs = video_drvdata(file);
|
||||
unsigned long flags;
|
||||
|
在新工单中引用
屏蔽一个用户