summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 13:05:34 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 19:23:11 +0200
commit5a17759c98c814520da653133ccfbb8d2c50cd6c (patch)
tree1742725807af4739f80d59a74c3494a3a582fcc7
parentvt: add comment for unbind_con_driver() (diff)
downloadlinux-5a17759c98c814520da653133ccfbb8d2c50cd6c.tar.xz
linux-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>
-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 },