intelfb: the pseudo_palette is only 16 elements long

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>
This commit is contained in:
Antonino A. Daplas 2007-07-17 04:05:44 -07:00 committed by Linus Torvalds
parent 372166af0b
commit c312f97df6

View file

@ -302,7 +302,7 @@ struct intelfb_info {
u32 ring_lockup;
/* palette */
u32 pseudo_palette[17];
u32 pseudo_palette[16];
/* chip info */
int pci_chipset;