Skip to contentSkip to conversation

tx3912fb: Fix improper assignment of info->pseudo_palette

PATCH In review Antonino A. Daplas 1 participant 1 message Jun 2, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 18/24 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.

---

 drivers/video/tx3912fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/tx3912fb.c +1 -1
index 07389ba..e6f7c78 100644
@@ -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 */

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/