[MPlayer-matrox] r270 - mga_vid/trunk/mga_vid.c

attila subversion at mplayerhq.hu
Sun Oct 19 16:38:05 CEST 2008


Author: attila
Date: Sun Oct 19 16:38:05 2008
New Revision: 270

Log:
fix changed interface definition for device_create()


Modified:
   mga_vid/trunk/mga_vid.c

Modified: mga_vid/trunk/mga_vid.c
==============================================================================
--- mga_vid/trunk/mga_vid.c	(original)
+++ mga_vid/trunk/mga_vid.c	Sun Oct 19 16:38:05 2008
@@ -1134,7 +1134,7 @@ static int mga_vid_initialize(void)
 
 				mga_vid_class = class_create(THIS_MODULE, "mga_vid");
 				for (i = 0; i < mga_cards_num; i++) {
-					device_create(mga_vid_class, NULL, MKDEV(mga_vid_major, i), "mga_vid%d", i);
+					device_create(mga_vid_class, NULL, MKDEV(mga_vid_major, i), NULL, "mga_vid%d", i);
 				}
 
 				printk(KERN_INFO "mga_vid: using major: %d (assigned or default!)\n", major);



More information about the MPlayer-matrox mailing list