hw/display/sm501: Fix comment in sm501_sysbus_class_init()
PATCH 1/1 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 <[email protected]>
--- hw/display/sm501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/display/sm501.c +1 -1
@@ -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; */ }
Signature · 1 line
1.8.3.1
Quoted 21 lines · Thomas Huth
The "
cannot_instantiate_with_device_add_yet" flag has been renamed to "user_creatable" a while ago.Signed-off-by Thomas Huth <[email protected]>---
hw/display/sm501.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)hw/display/sm501.c +1
-1@@ -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; */
Quoted 2 lines
}
Reviewed-by Gerd Hoffmann <[email protected]>
David Gibson
AppliedQuoted 18 lines · Gerd Hoffmann
Quoted 17 lines · Thomas Huth
The "
cannot_instantiate_with_device_add_yet" flag has been renamed to "user_creatable" a while ago.Signed-off-by Thomas Huth <[email protected]>---
hw/display/sm501.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)hw/display/sm501.c +0
-0@@ -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
Quoted 8 lines
Quoted 6 lines
hw/display/sm501.c +1
-1-* no need for dc->cannot_instantiate_with_device_add_yet = true; +* no need for dc->user_creatable = false; */ }
Reviewed-by Gerd Hoffmann <[email protected]>
Applied to ppc-for-2.11, thanks.
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson