aboutsummaryrefslogtreecommitdiff
path: root/include/hw/m68k/mcf_fec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/m68k/mcf_fec.h')
-rw-r--r--include/hw/m68k/mcf_fec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/m68k/mcf_fec.h b/include/hw/m68k/mcf_fec.h
index c8ece3cb4b..840c5bbf53 100644
--- a/include/hw/m68k/mcf_fec.h
+++ b/include/hw/m68k/mcf_fec.h
@@ -13,7 +13,8 @@
#define TYPE_MCF_FEC_NET "mcf-fec"
typedef struct mcf_fec_state mcf_fec_state;
-#define MCF_FEC_NET(obj) OBJECT_CHECK(mcf_fec_state, (obj), TYPE_MCF_FEC_NET)
+DECLARE_INSTANCE_CHECKER(mcf_fec_state, MCF_FEC_NET,
+ TYPE_MCF_FEC_NET)
#define FEC_NUM_IRQ 13