diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-09-04 11:08:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-26 09:58:02 -0400 |
commit | 3f70e1f598a6be4277e71516a98457fd3bddfbd0 (patch) | |
tree | 8aee834b6bb6984fe578cdf5975755c939455f0a /drivers/media/radio/radio-si4713.c | |
parent | ba9425bce9e162eee0741d9a94e0d6f68e0242ab (diff) |
[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-si4713.c')
-rw-r--r-- | drivers/media/radio/radio-si4713.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-si4713.c b/drivers/media/radio/radio-si4713.c index 1e04101485a3..a082e400ed0f 100644 --- a/drivers/media/radio/radio-si4713.c +++ b/drivers/media/radio/radio-si4713.c | |||
@@ -200,7 +200,7 @@ static int radio_si4713_g_modulator(struct file *file, void *p, | |||
200 | } | 200 | } |
201 | 201 | ||
202 | static int radio_si4713_s_modulator(struct file *file, void *p, | 202 | static int radio_si4713_s_modulator(struct file *file, void *p, |
203 | struct v4l2_modulator *vm) | 203 | const struct v4l2_modulator *vm) |
204 | { | 204 | { |
205 | return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner, | 205 | return v4l2_device_call_until_err(get_v4l2_dev(file), 0, tuner, |
206 | s_modulator, vm); | 206 | s_modulator, vm); |