aboutsummaryrefslogtreecommitdiff
path: root/include/hw/core/split-irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/core/split-irq.h')
-rw-r--r--include/hw/core/split-irq.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/core/split-irq.h b/include/hw/core/split-irq.h
index 76d42b29aa..ff8852f407 100644
--- a/include/hw/core/split-irq.h
+++ b/include/hw/core/split-irq.h
@@ -42,10 +42,8 @@
#define MAX_SPLIT_LINES 16
-typedef struct SplitIRQ SplitIRQ;
-DECLARE_INSTANCE_CHECKER(SplitIRQ, SPLIT_IRQ,
- TYPE_SPLIT_IRQ)
+OBJECT_DECLARE_SIMPLE_TYPE(SplitIRQ, SPLIT_IRQ)
struct SplitIRQ {
DeviceState parent_obj;