From: Hans Verkuil Date: Mon, 15 Dec 2008 10:15:32 +0000 (-0300) Subject: V4L/DVB (9904): v4l: fix compile warning. X-Git-Tag: v2.6.29-rc1~556^2~179 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=69373f6a9cde6a7683d877ca8ad296112fe032e6;p=linux-2.6-omap-h63xx.git V4L/DVB (9904): v4l: fix compile warning. Fix (bogus) compile warning about uninitialized variable. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index d284d5d1dd0..c25ea0047e0 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c @@ -453,7 +453,7 @@ static int sh_mobile_ceu_try_bus_param(struct soc_camera_device *icd, static int sh_mobile_ceu_set_fmt(struct soc_camera_device *icd, __u32 pixfmt, struct v4l2_rect *rect) { - const struct soc_camera_data_format *cam_fmt; + const struct soc_camera_data_format *cam_fmt = NULL; int ret; /*