]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/display/vga-isa.c
qdev: set properties with device_class_set_props()
[thirdparty/qemu.git] / hw / display / vga-isa.c
index 08a2730db5a90bceef04e7206574c5c8aaee7d41..0633ed382c1be7f966e391b1d112a811d3b814d0 100644 (file)
@@ -95,7 +95,7 @@ static void vga_isa_class_initfn(ObjectClass *klass, void *data)
     dc->realize = vga_isa_realizefn;
     dc->reset = vga_isa_reset;
     dc->vmsd = &vmstate_vga_common;
-    dc->props = vga_isa_properties;
+    device_class_set_props(dc, vga_isa_properties);
     set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
 }