mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
platinumfb: 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
d01184c8db
commit
02c2c209c2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user