aboutsummaryrefslogtreecommitdiff
path: root/hw/display/vhost-user-vga.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/vhost-user-vga.c')
-rw-r--r--hw/display/vhost-user-vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vhost-user-vga.c b/hw/display/vhost-user-vga.c
index 7110ea6..a34a998 100644
--- a/hw/display/vhost-user-vga.c
+++ b/hw/display/vhost-user-vga.c
@@ -41,7 +41,7 @@ static void vhost_user_vga_inst_initfn(Object *obj)
static const VirtioPCIDeviceTypeInfo vhost_user_vga_info = {
.generic_name = TYPE_VHOST_USER_VGA,
.parent = TYPE_VIRTIO_VGA_BASE,
- .instance_size = sizeof(struct VhostUserVGA),
+ .instance_size = sizeof(VhostUserVGA),
.instance_init = vhost_user_vga_inst_initfn,
};