[PATCH] matroxfb_base.c - a little fix

From: Denis Zaitsev (zzz@cd-club.ru)
Date: Sun Feb 03 2002 - 20:01:07 EST


So, below is the little fix. It's self-explanatory. Matrox's fb
can't be compiled without it. Petr, please, apply it.

--- drivers/video/matrox/matroxfb_base.c.orig Mon Feb 4 05:11:15 2002
+++ drivers/video/matrox/matroxfb_base.c Mon Feb 4 05:16:05 2002
@@ -1789,7 +1789,7 @@
 
         strcpy(ACCESS_FBINFO(fbcon.modename), "MATROX VGA");
         ACCESS_FBINFO(fbcon.changevar) = NULL;
- ACCESS_FBINFO(fbcon.node) = -1;
+ ACCESS_FBINFO(fbcon.node.value) = -1;
         ACCESS_FBINFO(fbcon.fbops) = &matroxfb_ops;
         ACCESS_FBINFO(fbcon.disp) = d;
         ACCESS_FBINFO(fbcon.switch_con) = &matroxfb_switch;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:30 EST