summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-15 11:15:32 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2008-12-15 11:15:32 +0100
commit0bb40d367f4b5d1a17b71c1fa354799cb5abf1e0 (patch)
tree62516f37c4a44db2248b708b0837d93fc3acfc83 /linux/drivers/media/video
parentd008178a2a79c10f6a8968c40c2dd5452df61664 (diff)
downloadmediapointer-dvb-s2-0bb40d367f4b5d1a17b71c1fa354799cb5abf1e0.tar.gz
mediapointer-dvb-s2-0bb40d367f4b5d1a17b71c1fa354799cb5abf1e0.tar.bz2
v4l: fix compile warning.
From: Hans Verkuil <hverkuil@xs4all.nl> Fix (bogus) compile warning about uninitialized variable. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/sh_mobile_ceu_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/sh_mobile_ceu_camera.c b/linux/drivers/media/video/sh_mobile_ceu_camera.c
index e2e816213..bd2a1754b 100644
--- a/linux/drivers/media/video/sh_mobile_ceu_camera.c
+++ b/linux/drivers/media/video/sh_mobile_ceu_camera.c
@@ -448,7 +448,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;
/*