]> Git Repo - qemu.git/blobdiff - hw/timer/hpet.c
qdev: set properties with device_class_set_props()
[qemu.git] / hw / timer / hpet.c
index 9f17aaa278e2a10de7e21e47bde5d52054a6a4f4..8dbcbdca16a6a2d46ff3ef9306474d3a674f7f1e 100644 (file)
@@ -800,7 +800,7 @@ static void hpet_device_class_init(ObjectClass *klass, void *data)
     dc->realize = hpet_realize;
     dc->reset = hpet_reset;
     dc->vmsd = &vmstate_hpet;
-    dc->props = hpet_device_properties;
+    device_class_set_props(dc, hpet_device_properties);
 }
 
 static const TypeInfo hpet_device_info = {
This page took 0.023212 seconds and 4 git commands to generate.