aboutsummaryrefslogtreecommitdiff
path: root/hw/display/cirrus_vga_isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/cirrus_vga_isa.c')
-rw-r--r--hw/display/cirrus_vga_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/cirrus_vga_isa.c b/hw/display/cirrus_vga_isa.c
index 7ef8e59224..825ba57298 100644
--- a/hw/display/cirrus_vga_isa.c
+++ b/hw/display/cirrus_vga_isa.c
@@ -80,7 +80,7 @@ static void isa_cirrus_vga_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_cirrus_vga;
dc->realize = isa_cirrus_vga_realizefn;
- dc->props = isa_cirrus_vga_properties;
+ device_class_set_props(dc, isa_cirrus_vga_properties);
set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
}