Re: [PATCH] [media] soc_camera: mx3_camera: Constify v4l2_crop

2012-11-19 Thread Guennadi Liakhovetski
Hi Fabio On Sun, 18 Nov 2012, Fabio Estevam wrote: Since commit 4f996594ce ([media] v4l2: make vidioc_s_crop const), set_crop should receive a 'const struct v4l2_crop *' argument type. Adapt to this new format and get rid of the following build warning: Thanks for the patches, both

[PATCH] [media] soc_camera: mx3_camera: Constify v4l2_crop

2012-11-17 Thread Fabio Estevam
Since commit 4f996594ce ([media] v4l2: make vidioc_s_crop const), set_crop should receive a 'const struct v4l2_crop *' argument type. Adapt to this new format and get rid of the following build warning: drivers/media/platform/soc_camera/mx3_camera.c:1134: warning: initialization from