mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 19:14:58 -06:00
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>
This commit is contained in:
parent
755cfed007
commit
fab2afff61
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue