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/usb/tlg2300/pd-radio.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/usb/tlg2300/pd-radio.c')
-rw-r--r-- | drivers/media/usb/tlg2300/pd-radio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/tlg2300/pd-radio.c b/drivers/media/usb/tlg2300/pd-radio.c index 0f958f74dbc4..8b1daf1f1e99 100644 --- a/drivers/media/usb/tlg2300/pd-radio.c +++ b/drivers/media/usb/tlg2300/pd-radio.c @@ -252,7 +252,7 @@ error: } static int fm_set_freq(struct file *file, void *priv, - struct v4l2_frequency *argp) + const struct v4l2_frequency *argp) { struct poseidon *p = video_drvdata(file); |