hw/display/sm501: Fix comment in sm501_sysbus_class_init()
authorThomas Huth <thuth@redhat.com>
Fri, 20 Oct 2017 09:53:53 +0000 (11:53 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 8 Nov 2017 02:21:37 +0000 (13:21 +1100)
The "cannot_instantiate_with_device_add_yet" flag has been renamed
to "user_creatable" a while ago.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/display/sm501.c

index 6eddac911eb953252ab62e1194472e9f5d00f8b0..7f1822421a9c95e1dfd7e7272ba14eae10b51ecc 100644 (file)
@@ -1758,7 +1758,7 @@ static void sm501_sysbus_class_init(ObjectClass *klass, void *data)
     dc->reset = sm501_reset_sysbus;
     dc->vmsd = &vmstate_sm501_sysbus;
     /* Note: pointer property "chr-state" may remain null, thus
-     * no need for dc->cannot_instantiate_with_device_add_yet = true;
+     * no need for dc->user_creatable = false;
      */
 }