summaryrefslogtreecommitdiff
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-09-04 15:03:49 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-26 13:56:23 (GMT)
commitba9425bce9e162eee0741d9a94e0d6f68e0242ab (patch)
tree68a767a4c9427b040827dd2c1dd908dca040605c /drivers/media/radio
parent0e8025b9f6011a6bd69d01080d584bc95a89d02e (diff)
downloadlinux-ba9425bce9e162eee0741d9a94e0d6f68e0242ab.tar.xz
[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 'drivers/media/radio')
-rw-r--r--drivers/media/radio/radio-si4713.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-si4713.c b/drivers/media/radio/radio-si4713.c
index 5f366d1..1e04101 100644
--- a/drivers/media/radio/radio-si4713.c
+++ b/drivers/media/radio/radio-si4713.c
@@ -83,7 +83,7 @@ static int radio_si4713_g_audout(struct file *file, void *priv,
}
static int radio_si4713_s_audout(struct file *file, void *priv,
- struct v4l2_audioout *vao)
+ const struct v4l2_audioout *vao)
{
return vao->index ? -EINVAL : 0;
}