summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vivi.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-06 13:58:12 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:43:15 +0200
commit9185cbfc336a080695304bcb781186559d987974 (patch)
tree62460e6f313a2d7462e023c89c3a61ab5ef4cf1e /drivers/media/video/vivi.c
parentV4L/DVB (10910): videodev2.h: remove deprecated VIDIOC_G_CHIP_IDENT_OLD (diff)
downloadlinux-9185cbfc336a080695304bcb781186559d987974.tar.xz
linux-9185cbfc336a080695304bcb781186559d987974.zip
V4L/DVB (10912): vivi: fix compile warning.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r--drivers/media/video/vivi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c
index 980620f411f0..fbfefae7886f 100644
--- a/drivers/media/video/vivi.c
+++ b/drivers/media/video/vivi.c
@@ -1406,7 +1406,7 @@ free_dev:
*/
static int __init vivi_init(void)
{
- int ret, i;
+ int ret = 0, i;
if (n_devs <= 0)
n_devs = 1;