summaryrefslogtreecommitdiffstats
path: root/hw/display/vga-pci.c
diff options
context:
space:
mode:
authorPaolo Bonzini2013-06-07 03:21:13 +0200
committerPaolo Bonzini2013-07-04 17:42:46 +0200
commit270327feb2535f74379030e028b96b57fd60ca39 (patch)
treee4f8930b7c28c32a2d992bd76ed6d6447a8eb16a /hw/display/vga-pci.c
parentvga: pass owner to vga_init (diff)
downloadqemu-270327feb2535f74379030e028b96b57fd60ca39.tar.gz
qemu-270327feb2535f74379030e028b96b57fd60ca39.tar.xz
qemu-270327feb2535f74379030e028b96b57fd60ca39.zip
vga: pass owner to vga_common_init
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/vga-pci.c')
-rw-r--r--hw/display/vga-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c
index 4716230d7e..62652bd477 100644
--- a/hw/display/vga-pci.c
+++ b/hw/display/vga-pci.c
@@ -147,7 +147,7 @@ static int pci_std_vga_initfn(PCIDevice *dev)
VGACommonState *s = &d->vga;
/* vga + console init */
- vga_common_init(s);
+ vga_common_init(s, OBJECT(dev));
vga_init(s, OBJECT(dev), pci_address_space(dev), pci_address_space_io(dev),
true);