aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/vga-isa.c')
-rw-r--r--hw/display/vga-isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga-isa.c b/hw/display/vga-isa.c
index fbf6db5765..5f253a9a49 100644
--- a/hw/display/vga-isa.c
+++ b/hw/display/vga-isa.c
@@ -69,7 +69,7 @@ static void vga_isa_realizefn(DeviceState *dev, Error **errp)
memory_region_set_coalescing(vga_io_memory);
s->con = graphic_console_init(DEVICE(dev), s->hw_ops, s);
- vga_init_vbe(s, isa_address_space(isadev));
+ vga_init_vbe(s, OBJECT(dev), isa_address_space(isadev));
/* ROM BIOS */
rom_add_vga(VGABIOS_FILENAME);
}