[media] media: mx2_camera: fix const cropping related warnings
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 28 Sep 2012 10:46:52 +0000 (07:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 22 Nov 2012 12:45:13 +0000 (10:45 -0200)
commitd63bb2790c0e1c44434cb2cc5292cd23d25d4ca5
treebc060656b997e61be0cfbc8d85267ae649695727
parent60cd1ee17d9d91aeaa4224a15595dd27163ac57d
[media] media: mx2_camera: fix const cropping related warnings

A recent commit "[media] v4l2: make vidioc_s_crop const" introduced
warnings in mx2_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/mx2_camera.c