diff options
Diffstat (limited to 'hw/m68k/mcf_intc.c')
-rw-r--r-- | hw/m68k/mcf_intc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/m68k/mcf_intc.c b/hw/m68k/mcf_intc.c index e628567cf3..7ee447240b 100644 --- a/hw/m68k/mcf_intc.c +++ b/hw/m68k/mcf_intc.c @@ -19,7 +19,8 @@ #define TYPE_MCF_INTC "mcf-intc" typedef struct mcf_intc_state mcf_intc_state; -#define MCF_INTC(obj) OBJECT_CHECK(mcf_intc_state, (obj), TYPE_MCF_INTC) +DECLARE_INSTANCE_CHECKER(mcf_intc_state, MCF_INTC, + TYPE_MCF_INTC) struct mcf_intc_state { SysBusDevice parent_obj; |