Skip to content

Commit

Permalink
platinumfb: 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 d01184c commit 02c2c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/platinumfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct fb_info_platinum {
struct {
__u8 red, green, blue;
} palette[256];
u32 pseudo_palette[17];
u32 pseudo_palette[16];

volatile struct cmap_regs __iomem *cmap_regs;
unsigned long cmap_regs_phys;
Expand Down

0 comments on commit 02c2c20

Please sign in to comment.