aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc/aspeed_vic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/intc/aspeed_vic.h')
-rw-r--r--include/hw/intc/aspeed_vic.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/intc/aspeed_vic.h b/include/hw/intc/aspeed_vic.h
index 8f2e67db5a..68d6ab997a 100644
--- a/include/hw/intc/aspeed_vic.h
+++ b/include/hw/intc/aspeed_vic.h
@@ -17,9 +17,7 @@
#include "qom/object.h"
#define TYPE_ASPEED_VIC "aspeed.vic"
-typedef struct AspeedVICState AspeedVICState;
-DECLARE_INSTANCE_CHECKER(AspeedVICState, ASPEED_VIC,
- TYPE_ASPEED_VIC)
+OBJECT_DECLARE_SIMPLE_TYPE(AspeedVICState, ASPEED_VIC)
#define ASPEED_VIC_NR_IRQS 51