From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:38 +0000 (-0700) Subject: platinumfb: the pseudo_palette is only 16 elements long X-Git-Tag: v2.6.23-rc1~577 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02c2c209c26ca452b2e688cdb0cb6bb4bc7cdf7f;p=linux-2.6 platinumfb: 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/platinumfb.c b/drivers/video/platinumfb.c index e64f8b5d00..8503e733a1 100644 --- a/drivers/video/platinumfb.c +++ b/drivers/video/platinumfb.c @@ -52,7 +52,7 @@ struct fb_info_platinum { struct { __u8 red, green, blue; } palette[256]; - u32 pseudo_palette[17]; + u32 pseudo_palette[16]; volatile struct cmap_regs __iomem *cmap_regs; unsigned long cmap_regs_phys;