]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
platinumfb: the pseudo_palette is only 16 elements long
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 17 Jul 2007 11:05:38 +0000 (04:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:12 +0000 (10:23 -0700)
The pseudo_palette is only 16 elements long.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/platinumfb.c

index e64f8b5d0056e54142887bfee25c22d5b3f65da6..8503e733a172454cbaf89675d3627f4535c2bf62 100644 (file)
@@ -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;