aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc/imx_avic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/intc/imx_avic.h')
-rw-r--r--include/hw/intc/imx_avic.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/intc/imx_avic.h b/include/hw/intc/imx_avic.h
index 621742533c..75fbd1a89c 100644
--- a/include/hw/intc/imx_avic.h
+++ b/include/hw/intc/imx_avic.h
@@ -21,9 +21,7 @@
#include "qom/object.h"
#define TYPE_IMX_AVIC "imx.avic"
-typedef struct IMXAVICState IMXAVICState;
-DECLARE_INSTANCE_CHECKER(IMXAVICState, IMX_AVIC,
- TYPE_IMX_AVIC)
+OBJECT_DECLARE_SIMPLE_TYPE(IMXAVICState, IMX_AVIC)
#define IMX_AVIC_NUM_IRQS 64