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, 1 insertions, 3 deletions
diff --git a/include/hw/misc/allwinner-h3-dramc.h b/include/hw/misc/allwinner-h3-dramc.h
index 60a13a6958..0b6c877ef7 100644
--- a/include/hw/misc/allwinner-h3-dramc.h
+++ b/include/hw/misc/allwinner-h3-dramc.h
@@ -58,9 +58,7 @@
*/
#define TYPE_AW_H3_DRAMC "allwinner-h3-dramc"
-typedef struct AwH3DramCtlState AwH3DramCtlState;
-DECLARE_INSTANCE_CHECKER(AwH3DramCtlState, AW_H3_DRAMC,
- TYPE_AW_H3_DRAMC)
+OBJECT_DECLARE_SIMPLE_TYPE(AwH3DramCtlState, AW_H3_DRAMC)
/** @} */