aboutsummaryrefslogtreecommitdiff
path: root/hw/cpu/cluster.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cpu/cluster.c')
-rw-r--r--hw/cpu/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cpu/cluster.c b/hw/cpu/cluster.c
index 349a883261..e444b7c29d 100644
--- a/hw/cpu/cluster.c
+++ b/hw/cpu/cluster.c
@@ -78,7 +78,7 @@ static void cpu_cluster_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->props = cpu_cluster_properties;
+ device_class_set_props(dc, cpu_cluster_properties);
dc->realize = cpu_cluster_realize;
/* This is not directly for users, CPU children must be attached by code */