summaryrefslogtreecommitdiffstats
path: root/hw/vfio/ap.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/vfio/ap.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/vfio/ap.c')
-rw-r--r--hw/vfio/ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c
index f399ec0a31..68ed059b39 100644
--- a/hw/vfio/ap.c
+++ b/hw/vfio/ap.c
@@ -177,7 +177,7 @@ static void vfio_ap_class_init(ObjectClass *klass, void *data)
static const TypeInfo vfio_ap_info = {
.name = VFIO_AP_DEVICE_TYPE,
- .parent = AP_DEVICE_TYPE,
+ .parent = TYPE_AP_DEVICE,
.instance_size = sizeof(VFIOAPDevice),
.class_init = vfio_ap_class_init,
};