summaryrefslogtreecommitdiffstats
path: root/drivers/video/68328fb.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 04:05:34 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 10:23:11 -0700
commit5a17759c98c814520da653133ccfbb8d2c50cd6c (patch)
tree1742725807af4739f80d59a74c3494a3a582fcc7 /drivers/video/68328fb.c
parentb7269dd2b97b9aedb64e15fdec5575345d091925 (diff)
downloadlinux-stable-5a17759c98c814520da653133ccfbb8d2c50cd6c.tar.gz
linux-stable-5a17759c98c814520da653133ccfbb8d2c50cd6c.tar.bz2
linux-stable-5a17759c98c814520da653133ccfbb8d2c50cd6c.zip
68328fb: 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/68328fb.c')
-rw-r--r--drivers/video/68328fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/68328fb.c b/drivers/video/68328fb.c
index 0dda73da8628..7f907fb23b8a 100644
--- a/drivers/video/68328fb.c
+++ b/drivers/video/68328fb.c
@@ -60,7 +60,7 @@ static u_long videomemory;
static u_long videomemorysize;
static struct fb_info fb_info;
-static u32 mc68x328fb_pseudo_palette[17];
+static u32 mc68x328fb_pseudo_palette[16];
static struct fb_var_screeninfo mc68x328fb_default __initdata = {
.red = { 0, 8, 0 },