aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/arm_l2x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/arm_l2x0.c')
-rw-r--r--hw/misc/arm_l2x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/arm_l2x0.c b/hw/misc/arm_l2x0.c
index af2c7af..2066c97 100644
--- a/hw/misc/arm_l2x0.c
+++ b/hw/misc/arm_l2x0.c
@@ -182,7 +182,7 @@ static void l2x0_class_init(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->vmsd = &vmstate_l2x0;
- dc->props = l2x0_properties;
+ device_class_set_props(dc, l2x0_properties);
dc->reset = l2x0_priv_reset;
}