From: Eduardo Habkost Date: Thu, 20 Aug 2015 21:54:34 +0000 (-0700) Subject: mac99: Use MACHINE_TYPE_NAME to encode class name X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c0f365186b30f97ef221489834e7ae146fc22db8;p=osstest%2Fqemu.git 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 Reviewed-by: David Gibson Signed-off-by: Andreas Färber --- diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c index 3c82be2e1..31c40c9ff 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, };