fix "fix" static initialization

This commit is contained in:
Markus Fröschle
2017-04-15 08:05:25 +00:00
parent ccf131a3d9
commit a1cfbc2345

View File

@@ -285,7 +285,7 @@ static struct fb_var_screeninfo default_fb =
{ {
.xres = 640, .xres = 640,
.yres = 480, .yres = 480,
.xres_virtual = 640, .xres_virtual = 640 * 2,
.yres_virtual = 480 * 2, /* ensure we have accel offscreen space */ .yres_virtual = 480 * 2, /* ensure we have accel offscreen space */
.bits_per_pixel = 8, .bits_per_pixel = 8,
.grayscale = 0, .grayscale = 0,
@@ -312,19 +312,19 @@ static struct fb_info fb =
.fix = .fix =
{ {
"ATI Radeon", .id = "ATI Radeon",
0x80000000, .smem_start = 0x80000000,
0x00800000, .smem_len = 0x00800000,
FB_TYPE_PLANES, .type = FB_TYPE_PLANES,
0, .type_aux = 0,
FB_VISUAL_PSEUDOCOLOR, .visual = FB_VISUAL_PSEUDOCOLOR,
1, .xpanstep = 1,
1, .ypanstep = 1,
1, .ywrapstep = 1,
640, .line_length = 640,
0x88000000, .mmio_len = 0x88000000,
0x4000, .accel = 0x4000,
1, .reserved = { 0, 0, 0 },
}, },
}; };