Skip to contentSkip to conversation

compile fix for matrox fb 2.5.2-9

PATCH New Patrick Mau 1 participant 1 message Jan 6, 2002 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compile fix for matrox fb 2.5.2-9

Hello all,

attached is a small compile fix for matroxfb.
I'm still unable to link it because of the binutils issues.

I lost the perl script, maybe someone allready has a fix ?

drivers/char/char.o(.data+0x46b4): undefined reference to local symbols in discarded section .text.exit' drivers/net/net.o(.data+0xd4): undefined reference to local symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1

cheers,
Patrick

drivers/video/matrox/matroxfb_base.c +1 -1
@@ -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) = to_kdev_t(-1);
 	ACCESS_FBINFO(fbcon.fbops) = &matroxfb_ops;
 	ACCESS_FBINFO(fbcon.disp) = d;
 	ACCESS_FBINFO(fbcon.switch_con) = &matroxfb_switch;