lkml.org 
[lkml]   [2003]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Eliminate compile warnings in atyfb_base.c
Date
Warnings were:
CC drivers/video/aty/atyfb_base.o
drivers/video/aty/atyfb_base.c:393: warning: `ram_dram' defined but not used
drivers/video/aty/atyfb_base.c:404: warning: `ram_resv' defined but not used
--
vda

--- linux-2.6.0-test4/drivers/video/aty/atyfb_base.c.orig Sat Aug 23 02:57:56 2003
+++ linux-2.6.0-test4/drivers/video/aty/atyfb_base.c Mon Aug 25 21:00:36 2003
@@ -390,7 +390,10 @@
#endif /* CONFIG_FB_ATY_CT */
};

+#if defined(CONFIG_FB_ATY_GX) || defined(CONFIG_FB_ATY_CT)
static char ram_dram[] __initdata = "DRAM";
+static char ram_resv[] __initdata = "RESV";
+#endif
#ifdef CONFIG_FB_ATY_GX
static char ram_vram[] __initdata = "VRAM";
#endif /* CONFIG_FB_ATY_GX */
@@ -401,7 +404,6 @@
static char ram_wram[] __initdata = "WRAM";
static char ram_off[] __initdata = "OFF";
#endif /* CONFIG_FB_ATY_CT */
-static char ram_resv[] __initdata = "RESV";

static u32 pseudo_palette[17];

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.031 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site