[media] media: mx3_camera: fix const cropping related warnings
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 28 Sep 2012 10:39:06 +0000 (07:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 22 Nov 2012 12:44:56 +0000 (10:44 -0200)
commit60cd1ee17d9d91aeaa4224a15595dd27163ac57d
tree4108b584dc5d468c077b77549c7d34efb56e712e
parent448a61f09e319c54bf149a20d9c8f63d5242a936
[media] media: mx3_camera: fix const cropping related warnings

A recent commit "[media] v4l2: make vidioc_s_crop const" introduced
warnings in mx3_camera. Fix them by cleanly separating writable and
read-only variables in cropping operations.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/mx3_camera.c