aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/allwinner-h3-sysctrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/allwinner-h3-sysctrl.h')
-rw-r--r--include/hw/misc/allwinner-h3-sysctrl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/allwinner-h3-sysctrl.h b/include/hw/misc/allwinner-h3-sysctrl.h
index 50baa8e..ec1c220 100644
--- a/include/hw/misc/allwinner-h3-sysctrl.h
+++ b/include/hw/misc/allwinner-h3-sysctrl.h
@@ -43,9 +43,7 @@
*/
#define TYPE_AW_H3_SYSCTRL "allwinner-h3-sysctrl"
-typedef struct AwH3SysCtrlState AwH3SysCtrlState;
-DECLARE_INSTANCE_CHECKER(AwH3SysCtrlState, AW_H3_SYSCTRL,
- TYPE_AW_H3_SYSCTRL)
+OBJECT_DECLARE_SIMPLE_TYPE(AwH3SysCtrlState, AW_H3_SYSCTRL)
/** @} */