aboutsummaryrefslogtreecommitdiff
path: root/include/hw/or-irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/or-irq.h')
-rw-r--r--include/hw/or-irq.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/hw/or-irq.h b/include/hw/or-irq.h
index f2f0a27..c0a42f3 100644
--- a/include/hw/or-irq.h
+++ b/include/hw/or-irq.h
@@ -35,10 +35,7 @@
*/
#define MAX_OR_LINES 48
-typedef struct OrIRQState qemu_or_irq;
-
-DECLARE_INSTANCE_CHECKER(qemu_or_irq, OR_IRQ,
- TYPE_OR_IRQ)
+OBJECT_DECLARE_SIMPLE_TYPE(OrIRQState, OR_IRQ)
struct OrIRQState {
DeviceState parent_obj;