summaryrefslogtreecommitdiffstats
path: root/drivers/char/c-qcam.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/c-qcam.c')
-rw-r--r--drivers/char/c-qcam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/c-qcam.c b/drivers/char/c-qcam.c
index a69684110..e424266c8 100644
--- a/drivers/char/c-qcam.c
+++ b/drivers/char/c-qcam.c
@@ -727,7 +727,7 @@ int init_cqcam(struct parport *port)
printk(KERN_INFO "Connectix Colour Quickcam on %s\n",
qcam->pport->name);
- if (video_register_device(&qcam->vdev)==-1)
+ if (video_register_device(&qcam->vdev, VFL_TYPE_GRABBER)==-1)
{
parport_unregister_device(qcam->pdev);
kfree(qcam);