]> err.no Git - linux-2.6/commitdiff
i810fb: the pseudo_palette is only 16 elements long
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 17 Jul 2007 11:05:43 +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/i810/i810.h

index 889e4ea5edc1292a3c8e9daa1daf8beb59cecf17..328ae6c673ec85fa0e85c79a931055b23e85ae16 100644 (file)
@@ -266,7 +266,7 @@ struct i810fb_par {
        struct i810fb_i2c_chan   chan[3];
        struct mutex             open_lock;
        unsigned int             use_count;
-       u32 pseudo_palette[17];
+       u32 pseudo_palette[16];
        unsigned long mmio_start_phys;
        u8 __iomem *mmio_start_virtual;
        u8 *edid;