summary refs log tree commit diff stats
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/or-irq.h b/include/hw/or-irq.h
index f2f0a27381..131abc2e0c 100644
--- a/include/hw/or-irq.h
+++ b/include/hw/or-irq.h
@@ -37,8 +37,7 @@
 
 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;