aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm/allwinner-h3.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/arm/allwinner-h3.h')
-rw-r--r--include/hw/arm/allwinner-h3.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/arm/allwinner-h3.h b/include/hw/arm/allwinner-h3.h
index a93e019521..cc308a5d2c 100644
--- a/include/hw/arm/allwinner-h3.h
+++ b/include/hw/arm/allwinner-h3.h
@@ -106,9 +106,7 @@ enum {
#define TYPE_AW_H3 "allwinner-h3"
/** Convert input object to Allwinner H3 state object */
-typedef struct AwH3State AwH3State;
-DECLARE_INSTANCE_CHECKER(AwH3State, AW_H3,
- TYPE_AW_H3)
+OBJECT_DECLARE_SIMPLE_TYPE(AwH3State, AW_H3)
/** @} */