summaryrefslogtreecommitdiffstats
path: root/drivers/video/platinumfb.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 04:05:38 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 10:23:12 -0700
commit02c2c209c26ca452b2e688cdb0cb6bb4bc7cdf7f (patch)
tree55ad4d72adab5597b27700577ef064ba2f39cebb /drivers/video/platinumfb.c
parentd01184c8db7f1aa9b10597b9f8071ecc5d7e12f8 (diff)
downloadop-kernel-dev-02c2c209c26ca452b2e688cdb0cb6bb4bc7cdf7f.zip
op-kernel-dev-02c2c209c26ca452b2e688cdb0cb6bb4bc7cdf7f.tar.gz
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>
Diffstat (limited to 'drivers/video/platinumfb.c')
-rw-r--r--drivers/video/platinumfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/platinumfb.c b/drivers/video/platinumfb.c
index e64f8b5..8503e73 100644
--- a/drivers/video/platinumfb.c
+++ b/drivers/video/platinumfb.c
@@ -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;
OpenPOWER on IntegriCloud