Re: Can't compile 2.5.2-pre11: error in fbdev

From: Greg KH (greg@kroah.com)
Date: Sat Jan 12 2002 - 15:56:04 EST


On Sat, Jan 12, 2002 at 09:17:50PM +0100, Sebastian Krause wrote:
> When I try to compile 2.5.2-pre11, I get the following error:

This patch fixes it for me:

diff -Nru a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
--- a/drivers/video/riva/fbdev.c Sat Jan 12 13:06:34 2002
+++ b/drivers/video/riva/fbdev.c Sat Jan 12 13:06:34 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;
 
-
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 : Tue Jan 15 2002 - 21:00:39 EST