Commit 1ce0e9a9 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds

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: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 973d9ab2
...@@ -291,7 +291,7 @@ int __init tx3912fb_init(void) ...@@ -291,7 +291,7 @@ int __init tx3912fb_init(void)
fb_info.fbops = &tx3912fb_ops; fb_info.fbops = &tx3912fb_ops;
fb_info.var = tx3912fb_var; fb_info.var = tx3912fb_var;
fb_info.fix = tx3912fb_fix; fb_info.fix = tx3912fb_fix;
fb_info.pseudo_palette = pseudo_palette; fb_info.pseudo_palette = cfb8;
fb_info.flags = FBINFO_DEFAULT; fb_info.flags = FBINFO_DEFAULT;
/* Clear the framebuffer */ /* Clear the framebuffer */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment