X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/f724de8dde4cc8d8159e4811714aeca222d9eb70..4f67d30b5e74e060b8dbe10528829b47345cd6e8:/hw/timer/hpet.c diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c index 9f17aaa278..8dbcbdca16 100644 --- a/hw/timer/hpet.c +++ b/hw/timer/hpet.c @@ -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 = {