aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/allwinner-h3-dramc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/allwinner-h3-dramc.h')
-rw-r--r--include/hw/misc/allwinner-h3-dramc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/misc/allwinner-h3-dramc.h b/include/hw/misc/allwinner-h3-dramc.h
index 0538e598b0..60a13a6958 100644
--- a/include/hw/misc/allwinner-h3-dramc.h
+++ b/include/hw/misc/allwinner-h3-dramc.h
@@ -59,8 +59,8 @@
#define TYPE_AW_H3_DRAMC "allwinner-h3-dramc"
typedef struct AwH3DramCtlState AwH3DramCtlState;
-#define AW_H3_DRAMC(obj) \
- OBJECT_CHECK(AwH3DramCtlState, (obj), TYPE_AW_H3_DRAMC)
+DECLARE_INSTANCE_CHECKER(AwH3DramCtlState, AW_H3_DRAMC,
+ TYPE_AW_H3_DRAMC)
/** @} */