From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:34 +0000 (-0700) Subject: 68328fb: the pseudo_palette is only 16 elements long X-Git-Tag: v2.6.23-rc1~585 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a17759c98c814520da653133ccfbb8d2c50cd6c;p=linux-2.6 68328fb: the pseudo_palette is only 16 elements long The pseudo_palette is only 16 elements long. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/68328fb.c b/drivers/video/68328fb.c index 0dda73da86..7f907fb23b 100644 --- a/drivers/video/68328fb.c +++ b/drivers/video/68328fb.c @@ -60,7 +60,7 @@ static u_long videomemory; static u_long videomemorysize; static struct fb_info fb_info; -static u32 mc68x328fb_pseudo_palette[17]; +static u32 mc68x328fb_pseudo_palette[16]; static struct fb_var_screeninfo mc68x328fb_default __initdata = { .red = { 0, 8, 0 },