summaryrefslogtreecommitdiffstats
path: root/include/hw/timer/renesas_cmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/timer/renesas_cmt.h')
-rw-r--r--include/hw/timer/renesas_cmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/timer/renesas_cmt.h b/include/hw/timer/renesas_cmt.h
index 313f9e1965..1c0b65c1d5 100644
--- a/include/hw/timer/renesas_cmt.h
+++ b/include/hw/timer/renesas_cmt.h
@@ -15,7 +15,8 @@
#define TYPE_RENESAS_CMT "renesas-cmt"
typedef struct RCMTState RCMTState;
-#define RCMT(obj) OBJECT_CHECK(RCMTState, (obj), TYPE_RENESAS_CMT)
+DECLARE_INSTANCE_CHECKER(RCMTState, RCMT,
+ TYPE_RENESAS_CMT)
enum {
CMT_CH = 2,