diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-19 03:09:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-24 05:25:34 -0400 |
commit | b530a447bb588fdf43fdf4eb909e4ee1921d47ac (patch) | |
tree | 8c9f6abb0f0c07ceea984a87fd80e9e65e7d483b /drivers/media/pci/saa7134 | |
parent | 69aa6f4ec669b9121057cc9e32cb10b5f744f6d6 (diff) |
[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/pci/saa7134')
-rw-r--r-- | drivers/media/pci/saa7134/saa7134-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c index 7c503fb68526..6c619d13f731 100644 --- a/drivers/media/pci/saa7134/saa7134-video.c +++ b/drivers/media/pci/saa7134/saa7134-video.c | |||
@@ -2057,7 +2057,7 @@ static int saa7134_g_frequency(struct file *file, void *priv, | |||
2057 | } | 2057 | } |
2058 | 2058 | ||
2059 | static int saa7134_s_frequency(struct file *file, void *priv, | 2059 | static int saa7134_s_frequency(struct file *file, void *priv, |
2060 | struct v4l2_frequency *f) | 2060 | const struct v4l2_frequency *f) |
2061 | { | 2061 | { |
2062 | struct saa7134_fh *fh = priv; | 2062 | struct saa7134_fh *fh = priv; |
2063 | struct saa7134_dev *dev = fh->dev; | 2063 | struct saa7134_dev *dev = fh->dev; |