aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/allwinner-h3-ccu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/allwinner-h3-ccu.h')
-rw-r--r--include/hw/misc/allwinner-h3-ccu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/allwinner-h3-ccu.h b/include/hw/misc/allwinner-h3-ccu.h
index 05f5c7bd8e..a04875bfca 100644
--- a/include/hw/misc/allwinner-h3-ccu.h
+++ b/include/hw/misc/allwinner-h3-ccu.h
@@ -42,9 +42,7 @@
*/
#define TYPE_AW_H3_CCU "allwinner-h3-ccu"
-typedef struct AwH3ClockCtlState AwH3ClockCtlState;
-DECLARE_INSTANCE_CHECKER(AwH3ClockCtlState, AW_H3_CCU,
- TYPE_AW_H3_CCU)
+OBJECT_DECLARE_SIMPLE_TYPE(AwH3ClockCtlState, AW_H3_CCU)
/** @} */