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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1ce0e9a9213bfa2f77363d3eef4d15808473cbe5;p=openwrt%2Fstaging%2Fblogic.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 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 */