summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-15 07:15:32 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:39:12 -0200
commit69373f6a9cde6a7683d877ca8ad296112fe032e6 (patch)
tree4f3ac30534067248e9223d5931e951af08d33b9a
parent9768352ac1f9cc3aae675adb299452bd28a54734 (diff)
V4L/DVB (9904): v4l: fix compile warning.
Fix (bogus) compile warning about uninitialized variable. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/sh_mobile_ceu_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c
index d284d5d1dd01..c25ea0047e04 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;
/*