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

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

diff -u --recursive --new-file v2.1.93/linux/drivers/char/bw-qcam.c linux/drivers/char/bw-qcam.c
@@ -885,7 +885,7 @@
 	
 	printk(KERN_INFO "Connectix 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