[PATCH] radeonfb: more initializer fixes

From: Pekka Enberg
Date: Fri Oct 29 2004 - 15:23:10 EST


Use 8-bit palette entries for radeonfb and avoid zero-initialization
as suggested by Geert Uytterhoeven.

Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
---

radeon_monitor.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

Index: 2.6.10-rc1-mm1/drivers/video/aty/radeon_monitor.c
===================================================================
--- 2.6.10-rc1-mm1.orig/drivers/video/aty/radeon_monitor.c 2004-10-29 11:07:54.000000000 +0300
+++ 2.6.10-rc1-mm1/drivers/video/aty/radeon_monitor.c 2004-10-29 23:02:58.854952680 +0300
@@ -12,9 +12,9 @@
.xres_virtual = 640,
.yres_virtual = 480,
.bits_per_pixel = 8,
- .red = { 0, 6, 0 },
- .green = { 0, 6, 0 },
- .blue = { 0, 6, 0 },
+ .red = { .length = 8 },
+ .green = { .length = 8 },
+ .blue = { .length = 8 },
.activate = FB_ACTIVATE_NOW,
.height = -1,
.width = -1,


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