aboutsummaryrefslogtreecommitdiff
path: root/include/hw/sd/allwinner-sdhost.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/sd/allwinner-sdhost.h')
-rw-r--r--include/hw/sd/allwinner-sdhost.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/hw/sd/allwinner-sdhost.h b/include/hw/sd/allwinner-sdhost.h
index 7bccc06d1c..bfe08ff4ef 100644
--- a/include/hw/sd/allwinner-sdhost.h
+++ b/include/hw/sd/allwinner-sdhost.h
@@ -45,10 +45,7 @@
* @{
*/
-typedef struct AwSdHostClass AwSdHostClass;
-typedef struct AwSdHostState AwSdHostState;
-DECLARE_OBJ_CHECKERS(AwSdHostState, AwSdHostClass,
- AW_SDHOST, TYPE_AW_SDHOST)
+OBJECT_DECLARE_TYPE(AwSdHostState, AwSdHostClass, AW_SDHOST)
/** @} */