aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/ap-device.c
diff options
context:
space:
mode:
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),