aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/mips_cpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/mips_cpc.c')
-rw-r--r--hw/misc/mips_cpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/mips_cpc.c b/hw/misc/mips_cpc.c
index 19ea016b87..2f7b2c9592 100644
--- a/hw/misc/mips_cpc.c
+++ b/hw/misc/mips_cpc.c
@@ -175,7 +175,7 @@ static void mips_cpc_class_init(ObjectClass *klass, void *data)
dc->realize = mips_cpc_realize;
dc->reset = mips_cpc_reset;
dc->vmsd = &vmstate_mips_cpc;
- dc->props = mips_cpc_properties;
+ device_class_set_props(dc, mips_cpc_properties);
}
static const TypeInfo mips_cpc_info = {