diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-09-04 17:08:47 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-26 15:58:02 +0200 |
commit | 3f70e1f598a6be4277e71516a98457fd3bddfbd0 (patch) | |
tree | 8aee834b6bb6984fe578cdf5975755c939455f0a /drivers/media/radio/radio-wl1273.c | |
parent | [media] v4l2: make vidioc_s_audout const (diff) | |
download | linux-3f70e1f598a6be4277e71516a98457fd3bddfbd0.tar.xz linux-3f70e1f598a6be4277e71516a98457fd3bddfbd0.zip |
[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-wl1273.c')
-rw-r--r-- | drivers/media/radio/radio-wl1273.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 2d93354fdcec..b53ecbc67f17 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c @@ -1715,7 +1715,7 @@ out: } static int wl1273_fm_vidioc_s_modulator(struct file *file, void *priv, - struct v4l2_modulator *modulator) + const struct v4l2_modulator *modulator) { struct wl1273_device *radio = video_get_drvdata(video_devdata(file)); struct wl1273_core *core = radio->core; |