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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/m68k/next-kbd.c b/hw/m68k/next-kbd.c
index a6316314ea..c7ca3fbbc9 100644
--- a/hw/m68k/next-kbd.c
+++ b/hw/m68k/next-kbd.c
@@ -39,7 +39,8 @@
#include "qom/object.h"
typedef struct NextKBDState NextKBDState;
-#define NEXTKBD(obj) OBJECT_CHECK(NextKBDState, (obj), TYPE_NEXTKBD)
+DECLARE_INSTANCE_CHECKER(NextKBDState, NEXTKBD,
+ TYPE_NEXTKBD)
/* following defintions from next68k netbsd */
#define CSR_INT 0x00800000