patch-2.4.0-test2 linux/drivers/char/videodev.c

Next file: linux/drivers/char/vt.c
Previous file: linux/drivers/char/vc_screen.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/char/videodev.c linux/drivers/char/videodev.c
@@ -51,7 +51,6 @@
 	char name[16];
 	struct video_device *vdev;
 	struct proc_dir_entry *proc_entry;
-	struct video_capability vcap;
 };
 
 static struct proc_dir_entry *video_dev_proc_entry = NULL;
@@ -470,9 +469,9 @@
 			 *	has serious privacy issues.
 			 */
 			vfd->devfs_handle =
-			    devfs_register (NULL, name, 0, DEVFS_FL_DEFAULT,
+			    devfs_register (NULL, name, DEVFS_FL_DEFAULT,
 					    VIDEO_MAJOR, vfd->minor,
-					    S_IFCHR | S_IRUSR | S_IWUSR, 0, 0,
+					    S_IFCHR | S_IRUSR | S_IWUSR,
 					    &video_fops, NULL);
 
 #if defined(CONFIG_PROC_FS) && defined(CONFIG_VIDEO_PROC_FS)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)