aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-14 06:41:18 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 09:47:28 -0400
commitec6f4328108f1c83d5ac907c0d978fa886ef9627 (patch)
tree5e964c9a73b5ab2cb839af53ebebfe18f5bb28c9 /include/media
parentd88aab53bd267c9fb0b0451e9acae68091703eab (diff)
[media] v4l2: make vidioc_s_freq_hw_seek const
Write-only ioctls should have a const argument in the ioctl op. Do this conversion for vidioc_s_freq_hw_seek. 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 'include/media')
-rw-r--r--include/media/v4l2-ioctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h
index 21f624586d56..865f95d92ba8 100644
--- a/include/media/v4l2-ioctl.h
+++ b/include/media/v4l2-ioctl.h
@@ -233,7 +233,7 @@ struct v4l2_ioctl_ops {
233 int (*vidioc_log_status) (struct file *file, void *fh); 233 int (*vidioc_log_status) (struct file *file, void *fh);
234 234
235 int (*vidioc_s_hw_freq_seek) (struct file *file, void *fh, 235 int (*vidioc_s_hw_freq_seek) (struct file *file, void *fh,
236 struct v4l2_hw_freq_seek *a); 236 const struct v4l2_hw_freq_seek *a);
237 237
238 /* Debugging ioctls */ 238 /* Debugging ioctls */
239#ifdef CONFIG_VIDEO_ADV_DEBUG 239#ifdef CONFIG_VIDEO_ADV_DEBUG