summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 04:05:43 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 10:23:12 -0700
commitf0e3ad444885b87d318f1b086284bed52e41cc4b (patch)
tree9aa87326dff05f69e4fd161c08f7626cd6c30f25 /drivers/video
parent59731f8acf7a83c0a195bef18325dddc5073ee7b (diff)
downloadlinux-f0e3ad444885b87d318f1b086284bed52e41cc4b.tar.gz
linux-f0e3ad444885b87d318f1b086284bed52e41cc4b.tar.bz2
linux-f0e3ad444885b87d318f1b086284bed52e41cc4b.zip
radeonfb: 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')
-rw-r--r--drivers/video/aty/radeonfb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/radeonfb.h b/drivers/video/aty/radeonfb.h
index 7ebffcdfd1e3..7c922c7b460b 100644
--- a/drivers/video/aty/radeonfb.h
+++ b/drivers/video/aty/radeonfb.h
@@ -301,7 +301,7 @@ struct radeonfb_info {
void __iomem *bios_seg;
int fp_bios_start;
- u32 pseudo_palette[17];
+ u32 pseudo_palette[16];
struct { u8 red, green, blue, pad; }
palette[256];