diff options
Diffstat (limited to 'hw/display/ramfb-standalone.c')
-rw-r--r-- | hw/display/ramfb-standalone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/ramfb-standalone.c b/hw/display/ramfb-standalone.c index 1f72450303..d76a9d0fe2 100644 --- a/hw/display/ramfb-standalone.c +++ b/hw/display/ramfb-standalone.c @@ -52,7 +52,7 @@ static void ramfb_class_initfn(ObjectClass *klass, void *data) set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories); dc->realize = ramfb_realizefn; - dc->props = ramfb_properties; + device_class_set_props(dc, ramfb_properties); dc->desc = "ram framebuffer standalone device"; dc->user_creatable = true; } |