[Mplayer-cvslog] CVS: main/drivers mga_vid.c,1.42,1.43

Arpi of Ize arpi at mplayerhq.hu
Thu Apr 18 18:44:24 CEST 2002


Update of /cvsroot/mplayer/main/drivers
In directory mail:/var/tmp.root/cvs-serv7084

Modified Files:
	mga_vid.c 
Log Message:
dvfs fix, 10l

Index: mga_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/mga_vid.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- mga_vid.c	16 Apr 2002 20:19:47 -0000	1.42
+++ mga_vid.c	18 Apr 2002 16:44:21 -0000	1.43
@@ -1564,12 +1564,18 @@
 		}
 	}
 #ifdef CONFIG_DEVFS_FS
+/*
+from 2.4.17/2.4.18 linux/devfs_fs_kernel.h:
+extern devfs_handle_t devfs_register (devfs_handle_t dir, const char *name,
+				      unsigned int flags,
+				      unsigned int major, unsigned int minor,
+				      umode_t mode, void *ops, void *info);
+*/
 	if ((dev_handle = devfs_register(
 					NULL,
-					"mga_vid", 0, DEVFS_FL_NONE,
+					"mga_vid", DEVFS_FL_NONE,
 					MGA_VID_MAJOR, 0,
 					S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IFCHR,
-					0, 0,
 					&mga_vid_fops, NULL)) == NULL)
 #else
 	if(register_chrdev(MGA_VID_MAJOR, "mga_vid", &mga_vid_fops))




More information about the MPlayer-cvslog mailing list