diff options
Diffstat (limited to 'hw/misc/debugexit.c')
-rw-r--r-- | hw/misc/debugexit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/debugexit.c b/hw/misc/debugexit.c index ccf02bdbd4..99a814f10c 100644 --- a/hw/misc/debugexit.c +++ b/hw/misc/debugexit.c @@ -65,7 +65,7 @@ static void debug_exit_class_initfn(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->realize = debug_exit_realizefn; - dc->props = debug_exit_properties; + device_class_set_props(dc, debug_exit_properties); set_bit(DEVICE_CATEGORY_MISC, dc->categories); } |