[PATCH] Eliminate compile warnings in atyfb_base.c

From: insecure
Date: Mon Aug 25 2003 - 13:09:11 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/