mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
af62e639fc
commit
c0f365186b
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ static void core99_machine_class_init(ObjectClass *oc, void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo core99_machine_info = {
|
static const TypeInfo core99_machine_info = {
|
||||||
.name = "mac99-machine",
|
.name = MACHINE_TYPE_NAME("mac99"),
|
||||||
.parent = TYPE_MACHINE,
|
.parent = TYPE_MACHINE,
|
||||||
.class_init = core99_machine_class_init,
|
.class_init = core99_machine_class_init,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue