[patch] matroxfb fix

Gerd Knorr (kraxel@bytesex.org)
Thu, 14 Feb 2002 16:19:31 +0100


Hi,

Trivial build fix for matroxfb (broken due to kdev_t changes).

Gerd

---------------------------- cut here -------------------------
--- linux-2.5.5-pre1/drivers/video/matrox/matroxfb_base.c Wed Nov 14 23:52:20 2001
+++ linux/drivers/video/matrox/matroxfb_base.c Thu Feb 14 15:20:44 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) = NODEV;
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/