[MPlayer-matrox] Tiny patch for mga_vid to compile against 2.6.19 kernel
Jan Kozanek
nospam at kozanek.net
Sun Jan 7 23:42:23 CET 2007
Hi list,
the 2.6.19 vanilla tree has really omitted the deprecated
include/linux/config.h, thus mga_vid won't compile with the error
mentioned previously in here:
http://lists.mplayerhq.hu/pipermail/mplayer-matrox/2006-November/000319.html
Below is a tiny patch for mga_vid.c to compile against a 2.6.19 kernel.
--<CUT>---
--- mga_vid-2.6.18/mga_vid.c 2006-09-27 18:32:13.000000000 +0200
+++ mga_vid-2.6.19/mga_vid.c 2007-01-07 23:24:17.000000000 +0100
@@ -42,7 +42,7 @@
//use the 'major' parameter to override the default major number (83)
/* mknod /dev/mga_vid c 83 0 */
-#include <linux/config.h>
+#include <linux/autoconf.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
--<CUT>---
--
S pozdravem/Best Regards,
Jan Kozanek
More information about the MPlayer-matrox
mailing list