Message ID | 4B290589.2030607@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index 7705fc6..328af3a 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -1375,7 +1375,7 @@ static int __init vivi_create_instance(int inst) snprintf(vfd->name, sizeof(vfd->name), "%s (%i)", vivi_template.name, vfd->num); - if (video_nr >= 0) + if (video_nr != -1) video_nr++; dev->vfd = vfd;