aboutsummaryrefslogtreecommitdiff
path: root/hw/m68k/next-kbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/m68k/next-kbd.c')
-rw-r--r--hw/m68k/next-kbd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/m68k/next-kbd.c b/hw/m68k/next-kbd.c
index c7ca3fbbc9..c11b5281f1 100644
--- a/hw/m68k/next-kbd.c
+++ b/hw/m68k/next-kbd.c
@@ -38,9 +38,7 @@
#include "migration/vmstate.h"
#include "qom/object.h"
-typedef struct NextKBDState NextKBDState;
-DECLARE_INSTANCE_CHECKER(NextKBDState, NEXTKBD,
- TYPE_NEXTKBD)
+OBJECT_DECLARE_SIMPLE_TYPE(NextKBDState, NEXTKBD)
/* following defintions from next68k netbsd */
#define CSR_INT 0x00800000