aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-04 11:03:49 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 09:56:23 -0400
commitba9425bce9e162eee0741d9a94e0d6f68e0242ab (patch)
tree68a767a4c9427b040827dd2c1dd908dca040605c /include/media
parent0e8025b9f6011a6bd69d01080d584bc95a89d02e (diff)
[media] v4l2: make vidioc_s_audout const
Write-only ioctls should have a const argument in the ioctl op. Do this conversion for vidioc_s_audout. 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 babbe09527cd..d4c7729e8eca 100644
--- a/include/media/v4l2-ioctl.h
+++ b/include/media/v4l2-ioctl.h
@@ -175,7 +175,7 @@ struct v4l2_ioctl_ops {
175 int (*vidioc_g_audout) (struct file *file, void *fh, 175 int (*vidioc_g_audout) (struct file *file, void *fh,
176 struct v4l2_audioout *a); 176 struct v4l2_audioout *a);
177 int (*vidioc_s_audout) (struct file *file, void *fh, 177 int (*vidioc_s_audout) (struct file *file, void *fh,
178 struct v4l2_audioout *a); 178 const struct v4l2_audioout *a);
179 int (*vidioc_g_modulator) (struct file *file, void *fh, 179 int (*vidioc_g_modulator) (struct file *file, void *fh,
180 struct v4l2_modulator *a); 180 struct v4l2_modulator *a);
181 int (*vidioc_s_modulator) (struct file *file, void *fh, 181 int (*vidioc_s_modulator) (struct file *file, void *fh,