atyfb: 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:
parent
1ce0e9a921
commit
59731f8acf
|
@ -541,7 +541,7 @@ static char ram_off[] __devinitdata = "OFF";
|
|||
#endif /* CONFIG_FB_ATY_CT */
|
||||
|
||||
|
||||
static u32 pseudo_palette[17];
|
||||
static u32 pseudo_palette[16];
|
||||
|
||||
#ifdef CONFIG_FB_ATY_GX
|
||||
static char *aty_gx_ram[8] __devinitdata = {
|
||||
|
|
Loading…
Reference in New Issue