diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-26 14:43:31 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-27 14:21:48 -0400 |
commit | 0b43132f3067430687b7dbd7d0c2256fe6471ea2 (patch) | |
tree | 58cb81848282e2727e1a81a1cbfafa4d12bf191c /hw/arm | |
parent | 1a3bae794b982d3578af8f667c14ad753db60efd (diff) | |
download | qemu-0b43132f3067430687b7dbd7d0c2256fe6471ea2.zip qemu-0b43132f3067430687b7dbd7d0c2256fe6471ea2.tar.gz qemu-0b43132f3067430687b7dbd7d0c2256fe6471ea2.tar.bz2 |
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')
-rw-r--r-- | hw/arm/xlnx-zcu102.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c index 5997262..672d9d4 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, |