[media] v4l2: add const to argument of write-only s_frequency ioctl

This ioctl is defined as IOW, so pass the argument as const.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
这个提交包含在:
Hans Verkuil
2013-03-19 04:09:26 -03:00
提交者 Mauro Carvalho Chehab
父节点 69aa6f4ec6
当前提交 b530a447bb
修改 56 个文件,包含 115 行新增110 行删除

查看文件

@@ -614,7 +614,7 @@ static int cx18_g_frequency(struct file *file, void *fh,
return 0;
}
int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf)
int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf)
{
struct cx18_open_id *id = fh2id(fh);
struct cx18 *cx = id->cx;