mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
0e8025b9f6
commit
ba9425bce9
3 changed files with 6 additions and 4 deletions
|
|
@ -175,7 +175,7 @@ struct v4l2_ioctl_ops {
|
|||
int (*vidioc_g_audout) (struct file *file, void *fh,
|
||||
struct v4l2_audioout *a);
|
||||
int (*vidioc_s_audout) (struct file *file, void *fh,
|
||||
struct v4l2_audioout *a);
|
||||
const struct v4l2_audioout *a);
|
||||
int (*vidioc_g_modulator) (struct file *file, void *fh,
|
||||
struct v4l2_modulator *a);
|
||||
int (*vidioc_s_modulator) (struct file *file, void *fh,
|
||||
|
|
|
|||
Loading…
Reference in a new issue