Skip to contentSkip to conversation

kdev_t compilation fixes (Framebuffer)

PATH Bongani Hlope 1 participant 1 message Feb 23, 2002 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

I thinks these were missed during 2.5.2-pre6, Feren I hope you are the right person to send the for the first patch (your name is listed as the Maintainer),Gerd yours is listed for the second patch.

--Bongani

drivers/video/riva/fbdev.c Sat Feb 23 23:35:08 2002 renamed from drivers/video/riva/fbdev.c Thu Nov 15 00:52:20 2001 +1 -1
@@ -1811,7 +1811,7 @@
        info = &rinfo->info;
 
        strcpy(info->modename, rinfo->drvr_name);
-       info->node = -1;
+       info->node = NODEV;
        info->flags = FBINFO_FLAG_DEFAULT;
        info->fbops = &riva_fb_ops;
 
drivers/video/sis/sis_main.c Sat Feb 23 23:40:22 2002 renamed from drivers/video/sis/sis_main.c Thu Feb 21 23:56:03 2002 +1 -1
@@ -2766,7 +2766,7 @@
        sisfb_crtc_to_var (&default_var);
 
        fb_info.changevar = NULL;
-       fb_info.node = -1;
+       fb_info.node = NODEV;
        fb_info.fbops = &sisfb_ops;
        fb_info.disp = &disp;
        fb_info.switch_con = &sisfb_switch;