From: Antonino A. Daplas Date: Tue, 17 Jul 2007 11:05:42 +0000 (-0700) Subject: tx3912fb: fix improper assignment of info->pseudo_palette X-Git-Tag: v2.6.23-rc1~571 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=1ce0e9a9213bfa2f77363d3eef4d15808473cbe5;p=~emulex%2Finfiniband.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/tx3912fb.c b/drivers/video/tx3912fb.c index 07389ba01ef..e6f7c78da68 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 */