summaryrefslogtreecommitdiffstats
path: root/drivers/video/tx3912fb.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-07-17 13:05:42 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 19:23:12 +0200
commit1ce0e9a9213bfa2f77363d3eef4d15808473cbe5 (patch)
tree3daf3fdb5539e6c822cc9586e49c4c578f36ec1b /drivers/video/tx3912fb.c
parenttridentfb: fix pseudo_palette array overrun in setcolreg (diff)
downloadlinux-1ce0e9a9213bfa2f77363d3eef4d15808473cbe5.tar.xz
linux-1ce0e9a9213bfa2f77363d3eef4d15808473cbe5.zip
tx3912fb: fix improper assignment of info->pseudo_palette
There is no variable pseudo_palette. Instead, there is u32 cfb8[16]. Use this for info->pseudo_palette. 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/tx3912fb.c')
-rw-r--r--drivers/video/tx3912fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tx3912fb.c b/drivers/video/tx3912fb.c
index 07389ba01eff..e6f7c78da68b 100644
--- a/drivers/video/tx3912fb.c
+++ b/drivers/video/tx3912fb.c
@@ -291,7 +291,7 @@ int __init tx3912fb_init(void)
fb_info.fbops = &tx3912fb_ops;
fb_info.var = tx3912fb_var;
fb_info.fix = tx3912fb_fix;
- fb_info.pseudo_palette = pseudo_palette;
+ fb_info.pseudo_palette = cfb8;
fb_info.flags = FBINFO_DEFAULT;
/* Clear the framebuffer */