Skip to content

Commit

Permalink
radeonfb: the pseudo_palette is only 16 elements long
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jul 17, 2007
1 parent 59731f8 commit f0e3ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/aty/radeonfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ struct radeonfb_info {
void __iomem *bios_seg;
int fp_bios_start;

u32 pseudo_palette[17];
u32 pseudo_palette[16];
struct { u8 red, green, blue, pad; }
palette[256];

Expand Down

0 comments on commit f0e3ad4

Please sign in to comment.