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/i2c/wm8775.c | |
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/i2c/wm8775.c')
-rw-r--r-- | drivers/media/i2c/wm8775.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/wm8775.c b/drivers/media/i2c/wm8775.c index bee77ea9f49e..27c27b4ae238 100644 --- a/drivers/media/i2c/wm8775.c +++ b/drivers/media/i2c/wm8775.c | |||
@@ -174,7 +174,7 @@ static int wm8775_log_status(struct v4l2_subdev *sd) | |||
174 | return 0; | 174 | return 0; |
175 | } | 175 | } |
176 | 176 | ||
177 | static int wm8775_s_frequency(struct v4l2_subdev *sd, struct v4l2_frequency *freq) | 177 | static int wm8775_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *freq) |
178 | { | 178 | { |
179 | wm8775_set_audio(sd, 0); | 179 | wm8775_set_audio(sd, 0); |
180 | return 0; | 180 | return 0; |