Patchwork [09/16] vmware_vga: Pass pci_vmsga_state_t arg no VGACommonState

login
register
mail settings
Submitter Juan Quintela
Date Oct. 14, 2009, 5:35 p.m.
Message ID <a5c80f58d8f36a9eac5243cf10086debc97bb69c.1255541443.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/36011/
State New
Headers show

Comments

Juan Quintela - Oct. 14, 2009, 5:35 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/vmware_vga.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 101d8ae..15609dd 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -1141,7 +1141,7 @@  static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
     s->vga.ds = graphic_console_init(vmsvga_update_display,
                                      vmsvga_invalidate_display,
                                      vmsvga_screen_dump,
-                                     vmsvga_text_update, &s->vga);
+                                     vmsvga_text_update, s);

 #ifdef CONFIG_BOCHS_VBE
     /* XXX: use optimized standard vga accesses */