aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vga-pci.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-06-06 21:21:13 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:46 +0200
commit270327feb2535f74379030e028b96b57fd60ca39 (patch)
treee4f8930b7c28c32a2d992bd76ed6d6447a8eb16a /hw/display/vga-pci.c
parent712f0cc777dc8abc1f43b8e2a5e65ab3ae563cbd (diff)
downloadqemu-270327feb2535f74379030e028b96b57fd60ca39.zip
qemu-270327feb2535f74379030e028b96b57fd60ca39.tar.gz
qemu-270327feb2535f74379030e028b96b57fd60ca39.tar.bz2
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 4716230..62652bd 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);