diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-09-04 12:08:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-26 10:58:02 -0300 |
commit | 3f70e1f598a6be4277e71516a98457fd3bddfbd0 (patch) | |
tree | 8aee834b6bb6984fe578cdf5975755c939455f0a /drivers/media/radio/radio-keene.c | |
parent | ba9425bce9e162eee0741d9a94e0d6f68e0242ab (diff) | |
download | op-kernel-dev-3f70e1f598a6be4277e71516a98457fd3bddfbd0.zip op-kernel-dev-3f70e1f598a6be4277e71516a98457fd3bddfbd0.tar.gz |
[media] v4l2: make vidioc_s_modulator const
Write-only ioctls should have a const argument in the ioctl op.
Do this conversion for vidioc_s_modulator.
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/radio/radio-keene.c')
-rw-r--r-- | drivers/media/radio/radio-keene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-keene.c b/drivers/media/radio/radio-keene.c index 79adf3e..e10e525 100644 --- a/drivers/media/radio/radio-keene.c +++ b/drivers/media/radio/radio-keene.c @@ -203,7 +203,7 @@ static int vidioc_g_modulator(struct file *file, void *priv, } static int vidioc_s_modulator(struct file *file, void *priv, - struct v4l2_modulator *v) + const struct v4l2_modulator *v) { struct keene_device *radio = video_drvdata(file); |