summaryrefslogtreecommitdiffstats
path: root/hw/s390x/ap-device.c
diff options
context:
space:
mode:
authorEduardo Habkost2020-09-03 00:42:13 +0200
committerEduardo Habkost2020-09-09 19:20:22 +0200
commitfab2afff610800ab7023ec4d633195eb54223625 (patch)
tree9d760ceaf241ea9d34bb2600d6d2c68e208b1faa /hw/s390x/ap-device.c
parentgpex: Fix type checking function name (diff)
downloadqemu-fab2afff610800ab7023ec4d633195eb54223625.tar.gz
qemu-fab2afff610800ab7023ec4d633195eb54223625.tar.xz
qemu-fab2afff610800ab7023ec4d633195eb54223625.zip
ap-device: Rename AP_DEVICE_TYPE to TYPE_AP_DEVICE
This will make the type name constant consistent with the name of the type checking macro. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20200902224311.1321159-6-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/s390x/ap-device.c')
-rw-r--r--hw/s390x/ap-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/ap-device.c b/hw/s390x/ap-device.c
index fc0b41e937..237d1f19c5 100644
--- a/hw/s390x/ap-device.c
+++ b/hw/s390x/ap-device.c
@@ -21,7 +21,7 @@ static void ap_class_init(ObjectClass *klass, void *data)
}
static const TypeInfo ap_device_info = {
- .name = AP_DEVICE_TYPE,
+ .name = TYPE_AP_DEVICE,
.parent = TYPE_DEVICE,
.instance_size = sizeof(APDevice),
.class_size = sizeof(DeviceClass),