2002-02-14 16:40:23

by Gerd Knorr

[permalink] [raw]
Subject: [patch] matroxfb fix

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;