summaryrefslogtreecommitdiffstats
path: root/include/hw/s390x/ap-device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/s390x/ap-device.h')
-rw-r--r--include/hw/s390x/ap-device.h4
1 files changed, 2 insertions, 2 deletions
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 */