aboutsummaryrefslogtreecommitdiff
path: root/include/hw/char/renesas_sci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/char/renesas_sci.h')
-rw-r--r--include/hw/char/renesas_sci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/char/renesas_sci.h b/include/hw/char/renesas_sci.h
index 5a5ebfd28c..a4764e3eee 100644
--- a/include/hw/char/renesas_sci.h
+++ b/include/hw/char/renesas_sci.h
@@ -15,7 +15,8 @@
#define TYPE_RENESAS_SCI "renesas-sci"
typedef struct RSCIState RSCIState;
-#define RSCI(obj) OBJECT_CHECK(RSCIState, (obj), TYPE_RENESAS_SCI)
+DECLARE_INSTANCE_CHECKER(RSCIState, RSCI,
+ TYPE_RENESAS_SCI)
enum {
ERI = 0,