diff options
| author | Thomas Huth <thuth@redhat.com> | 2017-10-20 11:53:53 +0200 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2017-11-08 13:21:37 +1100 |
| commit | 79b217dedb5ce70c5bc169b5e64b8a1f0d4bef9c (patch) | |
| tree | 8b92c19c749dfd30d80aa28da9fc865d3149929b /hw/display/sm501.c | |
| parent | e4f0c6bb1a9f72ad9e32c3171d36bae17ea1cd67 (diff) | |
| download | focaccia-qemu-79b217dedb5ce70c5bc169b5e64b8a1f0d4bef9c.tar.gz focaccia-qemu-79b217dedb5ce70c5bc169b5e64b8a1f0d4bef9c.zip | |
hw/display/sm501: Fix comment in sm501_sysbus_class_init()
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>
Diffstat (limited to 'hw/display/sm501.c')
| -rw-r--r-- | hw/display/sm501.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/sm501.c b/hw/display/sm501.c index 6eddac911e..7f1822421a 100644 --- a/hw/display/sm501.c +++ b/hw/display/sm501.c @@ -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; */ } |