summaryrefslogtreecommitdiffstats
path: root/include/hw/char/escc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/char/escc.h')
-rw-r--r--include/hw/char/escc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/char/escc.h b/include/hw/char/escc.h
index 5de2a39e77..5eaec507da 100644
--- a/include/hw/char/escc.h
+++ b/include/hw/char/escc.h
@@ -12,7 +12,8 @@
#define ESCC_SIZE 4
typedef struct ESCCState ESCCState;
-#define ESCC(obj) OBJECT_CHECK(ESCCState, (obj), TYPE_ESCC)
+DECLARE_INSTANCE_CHECKER(ESCCState, ESCC,
+ TYPE_ESCC)
typedef enum {
escc_chn_a, escc_chn_b,