summaryrefslogtreecommitdiffstats
path: root/drivers/video/aty
diff options
context:
space:
mode:
authorAntonino A. Daplas2007-07-17 13:05:43 +0200
committerLinus Torvalds2007-07-17 19:23:12 +0200
commitf0e3ad444885b87d318f1b086284bed52e41cc4b (patch)
tree9aa87326dff05f69e4fd161c08f7626cd6c30f25 /drivers/video/aty
parentatyfb: the pseudo_palette is only 16 elements long (diff)
downloadkernel-qcow2-linux-f0e3ad444885b87d318f1b086284bed52e41cc4b.tar.gz
kernel-qcow2-linux-f0e3ad444885b87d318f1b086284bed52e41cc4b.tar.xz
kernel-qcow2-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/aty')
-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];