summaryrefslogtreecommitdiff
path: root/src/drivers/emulation/qemu/bochs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/emulation/qemu/bochs.c')
-rw-r--r--src/drivers/emulation/qemu/bochs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c
index cb0075aec1..ae2975d543 100644
--- a/src/drivers/emulation/qemu/bochs.c
+++ b/src/drivers/emulation/qemu/bochs.c
@@ -109,8 +109,8 @@ static void bochs_init(struct device *dev)
outb(0x20, 0x3c0); /* disable blanking */
/* setup coreboot framebuffer */
- edid.ha = width;
- edid.va = height;
+ edid.mode.ha = width;
+ edid.mode.va = height;
edid.x_resolution = width;
edid.y_resolution = height;
edid.bytes_per_line = width * 4;