aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/arm_gicv2m.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/arm_gicv2m.c')
-rw-r--r--hw/intc/arm_gicv2m.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/intc/arm_gicv2m.c b/hw/intc/arm_gicv2m.c
index 8fb566d..04d7a6d 100644
--- a/hw/intc/arm_gicv2m.c
+++ b/hw/intc/arm_gicv2m.c
@@ -38,7 +38,8 @@
#define TYPE_ARM_GICV2M "arm-gicv2m"
typedef struct ARMGICv2mState ARMGICv2mState;
-#define ARM_GICV2M(obj) OBJECT_CHECK(ARMGICv2mState, (obj), TYPE_ARM_GICV2M)
+DECLARE_INSTANCE_CHECKER(ARMGICv2mState, ARM_GICV2M,
+ TYPE_ARM_GICV2M)
#define GICV2M_NUM_SPI_MAX 128