summaryrefslogtreecommitdiffstats
path: root/hw/arm/xlnx-zcu102.c
diff options
context:
space:
mode:
authorEduardo Habkost2020-08-26 20:43:31 +0200
committerEduardo Habkost2020-08-27 20:21:48 +0200
commit0b43132f3067430687b7dbd7d0c2256fe6471ea2 (patch)
tree58cb81848282e2727e1a81a1cbfafa4d12bf191c /hw/arm/xlnx-zcu102.c
parentsclpconsole: Use TYPE_* constants (diff)
downloadqemu-0b43132f3067430687b7dbd7d0c2256fe6471ea2.tar.gz
qemu-0b43132f3067430687b7dbd7d0c2256fe6471ea2.tar.xz
qemu-0b43132f3067430687b7dbd7d0c2256fe6471ea2.zip
xlnx-zcu102: Use TYPE_ZCU102_MACHINE constant
This will make future conversion to use OBJECT_DECLARE* easier. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Message-Id: <20200826184334.4120620-6-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/arm/xlnx-zcu102.c')
-rw-r--r--hw/arm/xlnx-zcu102.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c
index 5997262459..672d9d4bd1 100644
--- a/hw/arm/xlnx-zcu102.c
+++ b/hw/arm/xlnx-zcu102.c
@@ -238,7 +238,7 @@ static void xlnx_zcu102_machine_class_init(ObjectClass *oc, void *data)
}
static const TypeInfo xlnx_zcu102_machine_init_typeinfo = {
- .name = MACHINE_TYPE_NAME("xlnx-zcu102"),
+ .name = TYPE_ZCU102_MACHINE,
.parent = TYPE_MACHINE,
.class_init = xlnx_zcu102_machine_class_init,
.instance_init = xlnx_zcu102_machine_instance_init,