aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/omap')
-rw-r--r--drivers/media/video/omap/omap_vout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c
index 4ada9be1d430..eb16607358d0 100644
--- a/drivers/media/video/omap/omap_vout.c
+++ b/drivers/media/video/omap/omap_vout.c
@@ -2391,7 +2391,7 @@ static int __init omap_vout_create_video_devices(struct platform_device *pdev)
2391 /* Register the Video device with V4L2 2391 /* Register the Video device with V4L2
2392 */ 2392 */
2393 vfd = vout->vfd; 2393 vfd = vout->vfd;
2394 if (video_register_device(vfd, VFL_TYPE_GRABBER, k + 1) < 0) { 2394 if (video_register_device(vfd, VFL_TYPE_GRABBER, -1) < 0) {
2395 dev_err(&pdev->dev, ": Could not register " 2395 dev_err(&pdev->dev, ": Could not register "
2396 "Video for Linux device\n"); 2396 "Video for Linux device\n");
2397 vfd->minor = -1; 2397 vfd->minor = -1;