]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tx3912fb: fix improper assignment of info->pseudo_palette
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 17 Jul 2007 11:05:42 +0000 (04:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:12 +0000 (10:23 -0700)
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>
drivers/video/tx3912fb.c

index 07389ba01effa51407d44a022d8a224a99c89b22..e6f7c78da68bf1a5e88677b8ccfa8b6c92f09170 100644 (file)
@@ -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 */