diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-19 08:09:26 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-24 10:25:34 +0100 |
commit | b530a447bb588fdf43fdf4eb909e4ee1921d47ac (patch) | |
tree | 8c9f6abb0f0c07ceea984a87fd80e9e65e7d483b /drivers/media/radio/radio-wl1273.c | |
parent | [media] drivers: staging: davinci_vpfe: use resource_size() (diff) | |
download | linux-b530a447bb588fdf43fdf4eb909e4ee1921d47ac.tar.xz linux-b530a447bb588fdf43fdf4eb909e4ee1921d47ac.zip |
[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>
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 02151e0e6e63..9a02fee904bf 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c @@ -1640,7 +1640,7 @@ static int wl1273_fm_vidioc_g_frequency(struct file *file, void *priv, } static int wl1273_fm_vidioc_s_frequency(struct file *file, void *priv, - struct v4l2_frequency *freq) + const struct v4l2_frequency *freq) { struct wl1273_device *radio = video_get_drvdata(video_devdata(file)); struct wl1273_core *core = radio->core; |