aboutsummaryrefslogtreecommitdiff
path: root/hw/net/sungem.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/sungem.c')
-rw-r--r--hw/net/sungem.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/net/sungem.c b/hw/net/sungem.c
index 91753830a7..33c3722df6 100644
--- a/hw/net/sungem.c
+++ b/hw/net/sungem.c
@@ -23,9 +23,7 @@
#define TYPE_SUNGEM "sungem"
-typedef struct SunGEMState SunGEMState;
-DECLARE_INSTANCE_CHECKER(SunGEMState, SUNGEM,
- TYPE_SUNGEM)
+OBJECT_DECLARE_SIMPLE_TYPE(SunGEMState, SUNGEM)
#define MAX_PACKET_SIZE 9016