* [PATCH] Eliminate compile warnings in atyfb_base.c
@ 2003-08-25 18:06 insecure
0 siblings, 0 replies; only message in thread
From: insecure @ 2003-08-25 18:06 UTC (permalink / raw)
To: linux-kernel, riley, kraxel, Pavel Machek
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];
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-25 18:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-25 18:06 [PATCH] Eliminate compile warnings in atyfb_base.c insecure
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).