V4L/DVB (10912): vivi: fix compile warning.
Hans Verkuil [Fri, 6 Mar 2009 12:58:12 +0000 (09:58 -0300)]
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

drivers/media/video/vivi.c

index 980620f..fbfefae 100644 (file)
@@ -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;