From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:43 +0000 (-0700) Subject: i810fb: the pseudo_palette is only 16 elements long X-Git-Tag: v2.6.23-rc1~568 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=372166af0bd226322debf420a417524634a56abf;p=linux-2.6 i810fb: 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/i810/i810.h b/drivers/video/i810/i810.h index 889e4ea5ed..328ae6c673 100644 --- a/drivers/video/i810/i810.h +++ b/drivers/video/i810/i810.h @@ -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;