aboutsummaryrefslogtreecommitdiff
path: root/hw/display/milkymist-vgafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/milkymist-vgafb.c')
-rw-r--r--hw/display/milkymist-vgafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/milkymist-vgafb.c b/hw/display/milkymist-vgafb.c
index 8b0da4660a..6a6441e6ea 100644
--- a/hw/display/milkymist-vgafb.c
+++ b/hw/display/milkymist-vgafb.c
@@ -341,7 +341,7 @@ static void milkymist_vgafb_class_init(ObjectClass *klass, void *data)
dc->reset = milkymist_vgafb_reset;
dc->vmsd = &vmstate_milkymist_vgafb;
- dc->props = milkymist_vgafb_properties;
+ device_class_set_props(dc, milkymist_vgafb_properties);
dc->realize = milkymist_vgafb_realize;
}