Skip to content

Commit

Permalink
tx3912fb: fix improper assignment of info->pseudo_palette
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jul 17, 2007
1 parent 973d9ab commit 1ce0e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/tx3912fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 1ce0e9a

Please sign in to comment.