[PATCH] kdev_t compilation fixes (Framebuffer)

From: Bongani Hlope (bonganilinux@mweb.co.za)
Date: Sat Feb 23 2002 - 17:01:01 EST


I misspelled patch on the subject of the first mail, some plp's filters
may miss it (I guess) so here it goes again.

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

--- linux-2.5/drivers/video/riva/fbdev.c Thu Nov 15 00:52:20 2001
+++ linux-2.5-dev/drivers/video/riva/fbdev.c Sat Feb 23 23:35:08 2002
@@ -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;

--- linux-2.5/drivers/video/sis/sis_main.c Thu Feb 21 23:56:03 2002
+++ linux-2.5-dev/drivers/video/sis/sis_main.c Sat Feb 23 23:40:22 2002
@@ -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;

-
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 : Sat Feb 23 2002 - 21:00:52 EST