patch-2.1.94 linux/drivers/char/c-qcam.c

Next file: linux/drivers/char/console.c
Previous file: linux/drivers/char/bw-qcam.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.93/linux/drivers/char/c-qcam.c linux/drivers/char/c-qcam.c
@@ -727,7 +727,7 @@
 	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);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov