[media] v4l2: make vidioc_s_crop const
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 5 Sep 2012 08:10:48 +0000 (05:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 26 Sep 2012 14:02:25 +0000 (11:02 -0300)
commit4f996594ceaf6c3f9bc42b40c40b0f7f87b79c86
treef2ba0120024627256917dc05a2d7c509ac056011
parent3f70e1f598a6be4277e71516a98457fd3bddfbd0
[media] v4l2: make vidioc_s_crop const

Write-only ioctls should have a const argument in the ioctl op.
Do this conversion for vidioc_s_crop.
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>
30 files changed:
drivers/media/i2c/soc_camera/mt9m001.c
drivers/media/i2c/soc_camera/mt9m111.c
drivers/media/i2c/soc_camera/mt9t031.c
drivers/media/i2c/soc_camera/mt9t112.c
drivers/media/i2c/soc_camera/mt9v022.c
drivers/media/i2c/soc_camera/ov5642.c
drivers/media/i2c/soc_camera/ov6650.c
drivers/media/i2c/soc_camera/rj54n1cb0c.c
drivers/media/i2c/tvp5150.c
drivers/media/pci/bt8xx/bttv-driver.c
drivers/media/pci/cx18/cx18-ioctl.c
drivers/media/pci/cx25821/cx25821-video.c
drivers/media/pci/cx25821/cx25821-video.h
drivers/media/pci/ivtv/ivtv-ioctl.c
drivers/media/pci/saa7134/saa7134-video.c
drivers/media/pci/zoran/zoran_driver.c
drivers/media/platform/davinci/vpbe_display.c
drivers/media/platform/davinci/vpfe_capture.c
drivers/media/platform/omap/omap_vout.c
drivers/media/platform/s5p-fimc/fimc-m2m.c
drivers/media/platform/s5p-g2d/g2d.c
drivers/media/platform/sh_vou.c
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c
drivers/media/platform/soc_camera/soc_camera.c
drivers/media/platform/vino.c
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c
drivers/staging/media/go7007/go7007-v4l2.c
include/media/soc_camera.h
include/media/v4l2-ioctl.h
include/media/v4l2-subdev.h