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 <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
973d9ab231
Коммит
1ce0e9a921
|
@ -291,7 +291,7 @@ int __init tx3912fb_init(void)
|
||||||
fb_info.fbops = &tx3912fb_ops;
|
fb_info.fbops = &tx3912fb_ops;
|
||||||
fb_info.var = tx3912fb_var;
|
fb_info.var = tx3912fb_var;
|
||||||
fb_info.fix = tx3912fb_fix;
|
fb_info.fix = tx3912fb_fix;
|
||||||
fb_info.pseudo_palette = pseudo_palette;
|
fb_info.pseudo_palette = cfb8;
|
||||||
fb_info.flags = FBINFO_DEFAULT;
|
fb_info.flags = FBINFO_DEFAULT;
|
||||||
|
|
||||||
/* Clear the framebuffer */
|
/* Clear the framebuffer */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче