summaryrefslogtreecommitdiff
path: root/drivers/media/video/vivi.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-06 15:58:12 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 19:43:15 +0400
commit9185cbfc336a080695304bcb781186559d987974 (patch)
tree62460e6f313a2d7462e023c89c3a61ab5ef4cf1e /drivers/media/video/vivi.c
parentfbc9fa4e8781170e2fbca2859feda114d4758132 (diff)
downloadlinux-9185cbfc336a080695304bcb781186559d987974.tar.xz
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;