diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index 37632a0649667c8102eabe2567f1fb882d2b7abd..cdbe70385c12aff749d18f955674b0e4274be2a0 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -1371,7 +1371,7 @@ static int __init vivi_create_instance(int inst) /* Now that everything is fine, let's add it to device list */ list_add_tail(&dev->vivi_devlist, &vivi_devlist); - if (video_nr >= 0) + if (video_nr != -1) video_nr++; dev->vfd = vfd;