Commit b2ae8af7 authored by Pekka Enberg's avatar Pekka Enberg Committed by Linus Torvalds

[PATCH] radeonfb: more initializer fixes

Use 8-bit palette entries for radeonfb and avoid zero-initialization as
suggested by Geert Uytterhoeven.
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 348f5b25
......@@ -12,9 +12,9 @@ static struct fb_var_screeninfo radeonfb_default_var = {
.xres_virtual = 640,
.yres_virtual = 480,
.bits_per_pixel = 8,
.red = { 0, 6, 0 },
.green = { 0, 6, 0 },
.blue = { 0, 6, 0 },
.red = { .length = 8 },
.green = { .length = 8 },
.blue = { .length = 8 },
.activate = FB_ACTIVATE_NOW,
.height = -1,
.width = -1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment