[media] V4L: soc-camera: fix compiler warnings on 64-bit platforms
commit4c0b036db808054f10f79e9a3d7928cf90aeb186
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 5 Dec 2011 19:01:13 +0000 (5 16:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 11:34:00 +0000 (11 09:34 -0200)
tree2b3021d604eb1eb31b70f589bc165ba229bb522b
parenta626f3945208af1d60d3dccf064cac3b15bc54ca
[media] V4L: soc-camera: fix compiler warnings on 64-bit platforms

On 64-bit platforms assigning a pointer to a 32-bit variable causes a
compiler warning and cannot actually work. Soc-camera currently doesn't
support any 64-bit systems, but such platforms can be added in the
and in any case compiler warnings should be avoided.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ov6650.c
drivers/media/video/sh_mobile_ceu_camera.c
drivers/media/video/sh_mobile_csi2.c
drivers/media/video/soc_camera.c
include/media/soc_camera.h