summaryrefslogtreecommitdiff
path: root/drivers/media/radio/radio-keene.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-04 19:08:47 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 17:58:02 +0400
commit3f70e1f598a6be4277e71516a98457fd3bddfbd0 (patch)
tree8aee834b6bb6984fe578cdf5975755c939455f0a /drivers/media/radio/radio-keene.c
parentba9425bce9e162eee0741d9a94e0d6f68e0242ab (diff)
downloadlinux-3f70e1f598a6be4277e71516a98457fd3bddfbd0.tar.xz
[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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-keene.c b/drivers/media/radio/radio-keene.c
index 79adf3e654e5..e10e525f33e5 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);