aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-17 04:05:25 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 09:43:04 -0400
commitd88aab53bd267c9fb0b0451e9acae68091703eab (patch)
tree5da9b54e8fe4173a0a25b87bc350884d277f9bac /include/media
parente6eb28c2207b9397d0ab56e238865a4ee95b7ef9 (diff)
[media] v4l2: make vidioc_s_jpegcomp const
Write-only ioctls should have a const argument in the ioctl op. Do this conversion for vidioc_s_jpegcomp. 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 73ae24a41cb1..21f624586d56 100644
--- a/include/media/v4l2-ioctl.h
+++ b/include/media/v4l2-ioctl.h
@@ -195,7 +195,7 @@ struct v4l2_ioctl_ops {
195 int (*vidioc_g_jpegcomp) (struct file *file, void *fh, 195 int (*vidioc_g_jpegcomp) (struct file *file, void *fh,
196 struct v4l2_jpegcompression *a); 196 struct v4l2_jpegcompression *a);
197 int (*vidioc_s_jpegcomp) (struct file *file, void *fh, 197 int (*vidioc_s_jpegcomp) (struct file *file, void *fh,
198 struct v4l2_jpegcompression *a); 198 const struct v4l2_jpegcompression *a);
199 int (*vidioc_g_enc_index) (struct file *file, void *fh, 199 int (*vidioc_g_enc_index) (struct file *file, void *fh,
200 struct v4l2_enc_idx *a); 200 struct v4l2_enc_idx *a);
201 int (*vidioc_encoder_cmd) (struct file *file, void *fh, 201 int (*vidioc_encoder_cmd) (struct file *file, void *fh,