From fab2afff610800ab7023ec4d633195eb54223625 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Wed, 2 Sep 2020 18:42:13 -0400 Subject: 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 Reviewed-by: Thomas Huth Message-Id: <20200902224311.1321159-6-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost --- include/hw/s390x/ap-device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/hw') diff --git a/include/hw/s390x/ap-device.h b/include/hw/s390x/ap-device.h index fb250a20f3..e502745de5 100644 --- a/include/hw/s390x/ap-device.h +++ b/include/hw/s390x/ap-device.h @@ -14,7 +14,7 @@ #include "hw/qdev-core.h" #include "qom/object.h" -#define AP_DEVICE_TYPE "ap-device" +#define TYPE_AP_DEVICE "ap-device" struct APDevice { DeviceState parent_obj; @@ -22,6 +22,6 @@ struct APDevice { typedef struct APDevice APDevice; DECLARE_INSTANCE_CHECKER(APDevice, AP_DEVICE, - AP_DEVICE_TYPE) + TYPE_AP_DEVICE) #endif /* HW_S390X_AP_DEVICE_H */ -- cgit v1.2.3-55-g7522