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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/m68k/mcf_fec.h b/include/hw/m68k/mcf_fec.h
index 840c5bbf53..80d4f651ba 100644
--- a/include/hw/m68k/mcf_fec.h
+++ b/include/hw/m68k/mcf_fec.h
@@ -12,9 +12,7 @@
#include "qom/object.h"
#define TYPE_MCF_FEC_NET "mcf-fec"
-typedef struct mcf_fec_state mcf_fec_state;
-DECLARE_INSTANCE_CHECKER(mcf_fec_state, MCF_FEC_NET,
- TYPE_MCF_FEC_NET)
+OBJECT_DECLARE_SIMPLE_TYPE(mcf_fec_state, MCF_FEC_NET)
#define FEC_NUM_IRQ 13