diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-08-20 14:54:34 -0700 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-09-19 16:39:13 +0200 |
commit | c0f365186b30f97ef221489834e7ae146fc22db8 (patch) | |
tree | 7bdf6c6c62a7a6556eedeb923bb0635460841d64 /hw/ppc | |
parent | af62e639fcc190f09c51e8b73dc6492b30ae2111 (diff) | |
download | qemu-c0f365186b30f97ef221489834e7ae146fc22db8.zip |
mac99: Use MACHINE_TYPE_NAME to encode class name
It will result in exactly the same class name, but it will make the code
consistent with the other classes.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/mac_newworld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c index 3c82be2e18..31c40c9ff0 100644 --- a/hw/ppc/mac_newworld.c +++ b/hw/ppc/mac_newworld.c @@ -517,7 +517,7 @@ static void core99_machine_class_init(ObjectClass *oc, void *data) } static const TypeInfo core99_machine_info = { - .name = "mac99-machine", + .name = MACHINE_TYPE_NAME("mac99"), .parent = TYPE_MACHINE, .class_init = core99_machine_class_init, }; |