From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:47 +0000 (-0700) Subject: matroxfb: color setting fixes fix X-Git-Tag: v2.6.23-rc1~561 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=84650346b20c8f8af35e3773506102ff1680e887;p=linux-2.6-omap-h63xx.git matroxfb: color setting fixes fix Remove more code that writes to cmap[16]. Signed-off-by: Antonino Daplas Acked-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/matrox/matroxfb_accel.c b/drivers/video/matrox/matroxfb_accel.c index 209fe697ecc..3660d2673bd 100644 --- a/drivers/video/matrox/matroxfb_accel.c +++ b/drivers/video/matrox/matroxfb_accel.c @@ -91,7 +91,6 @@ static inline void matrox_cfb4_pal(u_int32_t* pal) { for (i = 0; i < 16; i++) { pal[i] = i * 0x11111111U; } - pal[i] = 0xFFFFFFFF; } static inline void matrox_cfb8_pal(u_int32_t* pal) { @@ -100,7 +99,6 @@ static inline void matrox_cfb8_pal(u_int32_t* pal) { for (i = 0; i < 16; i++) { pal[i] = i * 0x01010101U; } - pal[i] = 0x0F0F0F0F; } static void matroxfb_copyarea(struct fb_info* info, const struct fb_copyarea* area);