[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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
69aa6f4ec6
commit
b530a447bb
@@ -365,7 +365,7 @@ static int pvr2_s_tuner(struct file *file, void *priv, struct v4l2_tuner *vt)
|
||||
vt->audmode);
|
||||
}
|
||||
|
||||
static int pvr2_s_frequency(struct file *file, void *priv, struct v4l2_frequency *vf)
|
||||
static int pvr2_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *vf)
|
||||
{
|
||||
struct pvr2_v4l2_fh *fh = file->private_data;
|
||||
struct pvr2_hdw *hdw = fh->channel.mc_head->hdw;
|
||||
|
Reference in New Issue
Block a user