Skip to contentSkip to conversation

hw/display/sm501: Fix comment in sm501_sysbus_class_init()

PATCH Applied Thomas Huth 3 participants 3 messages Oct 20, 2017 – Oct 27, 2017

lore
Share & tools
lore
#0 lore raw

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.

---
 hw/display/sm501.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/display/sm501.c +1 -1
index 6eddac9..7f18224 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Thomas Huth

The "cannot_instantiate_with_device_add_yet" flag has been renamed to "user_creatable" a while ago.

---
 hw/display/sm501.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
hw/display/sm501.c +1 -1
index 6eddac9..7f18224 100644
@@ -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

 }

Applied
#2 lore raw
Quoted 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.

---
 hw/display/sm501.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
hw/display/sm501.c +0 -0
index 6eddac9..7f18224 100644
@@ -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;
       */

 }

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