[media] v4l2: make vidioc_(un)subscribe_event const
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 4 Sep 2012 14:46:09 +0000 (11:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 26 Sep 2012 13:48:52 +0000 (10:48 -0300)
commit85f5fe3962ca6780e5368feffe32f3b15e953e1f
treee3a5441ee86e62d3ca8423308f32c7a32ae68677
parentec6f4328108f1c83d5ac907c0d978fa886ef9627
[media] v4l2: make vidioc_(un)subscribe_event const

Write-only ioctls should have a const argument in the ioctl op.
Do this conversion for vidioc_(un)subscribe_event.
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>
drivers/media/pci/ivtv/ivtv-ioctl.c
drivers/media/platform/omap3isp/ispccdc.c
drivers/media/platform/omap3isp/ispstat.c
drivers/media/platform/omap3isp/ispstat.h
drivers/media/v4l2-core/v4l2-ctrls.c
drivers/media/v4l2-core/v4l2-event.c
include/media/v4l2-ctrls.h
include/media/v4l2-event.h
include/media/v4l2-ioctl.h