aboutsummaryrefslogtreecommitdiff
path: root/hw/char/debugcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/debugcon.c')
-rw-r--r--hw/char/debugcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 5c592e091b..c8d938efb5 100644
--- a/hw/char/debugcon.c
+++ b/hw/char/debugcon.c
@@ -125,7 +125,7 @@ static void debugcon_isa_class_initfn(ObjectClass *klass, void *data)
DeviceClass *dc = DEVICE_CLASS(klass);
dc->realize = debugcon_isa_realizefn;
- dc->props = debugcon_isa_properties;
+ device_class_set_props(dc, debugcon_isa_properties);
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}