summaryrefslogtreecommitdiffstats
path: root/hw/display/vga-isa.c
diff options
context:
space:
mode:
authorPaolo Bonzini2013-06-07 03:21:13 +0200
committerPaolo Bonzini2013-07-04 17:42:46 +0200
commitc84b28eeea1ab3f90e619b6af63e7db770c579ec (patch)
tree21bfa435431b147175326e4bbccdd71888d88be8 /hw/display/vga-isa.c
parentvga: pass owner to vga_init_vbe (diff)
downloadqemu-c84b28eeea1ab3f90e619b6af63e7db770c579ec.tar.gz
qemu-c84b28eeea1ab3f90e619b6af63e7db770c579ec.tar.xz
qemu-c84b28eeea1ab3f90e619b6af63e7db770c579ec.zip
vga: pass owner to vga_init_io
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
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 5f253a9a49..8d560ecef0 100644
--- a/hw/display/vga-isa.c
+++ b/hw/display/vga-isa.c
@@ -58,7 +58,7 @@ static void vga_isa_realizefn(DeviceState *dev, Error **errp)
vga_common_init(s, OBJECT(dev));
s->legacy_address_space = isa_address_space(isadev);
- vga_io_memory = vga_init_io(s, &vga_ports, &vbe_ports);
+ vga_io_memory = vga_init_io(s, OBJECT(dev), &vga_ports, &vbe_ports);
isa_register_portio_list(isadev, 0x3b0, vga_ports, s, "vga");
if (vbe_ports) {
isa_register_portio_list(isadev, 0x1ce, vbe_ports, s, "vbe");