diff options
Diffstat (limited to 'include/hw/or-irq.h')
-rw-r--r-- | include/hw/or-irq.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/or-irq.h b/include/hw/or-irq.h index 0038bfb..f2f0a27 100644 --- a/include/hw/or-irq.h +++ b/include/hw/or-irq.h @@ -37,7 +37,8 @@ typedef struct OrIRQState qemu_or_irq; -#define OR_IRQ(obj) OBJECT_CHECK(qemu_or_irq, (obj), TYPE_OR_IRQ) +DECLARE_INSTANCE_CHECKER(qemu_or_irq, OR_IRQ, + TYPE_OR_IRQ) struct OrIRQState { DeviceState parent_obj; |