aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/allwinner-sid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/allwinner-sid.h')
-rw-r--r--include/hw/misc/allwinner-sid.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/allwinner-sid.h b/include/hw/misc/allwinner-sid.h
index b8e83bb7ce..3bfa887a96 100644
--- a/include/hw/misc/allwinner-sid.h
+++ b/include/hw/misc/allwinner-sid.h
@@ -30,9 +30,7 @@
*/
#define TYPE_AW_SID "allwinner-sid"
-typedef struct AwSidState AwSidState;
-DECLARE_INSTANCE_CHECKER(AwSidState, AW_SID,
- TYPE_AW_SID)
+OBJECT_DECLARE_SIMPLE_TYPE(AwSidState, AW_SID)
/** @} */