summaryrefslogtreecommitdiff
path: root/src/drivers/emulation/qemu/cirrus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/emulation/qemu/cirrus.c')
-rw-r--r--src/drivers/emulation/qemu/cirrus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/emulation/qemu/cirrus.c b/src/drivers/emulation/qemu/cirrus.c
index ffc977229b..be8afdffa9 100644
--- a/src/drivers/emulation/qemu/cirrus.c
+++ b/src/drivers/emulation/qemu/cirrus.c
@@ -332,8 +332,8 @@ static void cirrus_init(struct device *dev)
struct edid edid;
- 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;