aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/allwinner-cpucfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/allwinner-cpucfg.h')
-rw-r--r--include/hw/misc/allwinner-cpucfg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/allwinner-cpucfg.h b/include/hw/misc/allwinner-cpucfg.h
index 058514d..a717b47 100644
--- a/include/hw/misc/allwinner-cpucfg.h
+++ b/include/hw/misc/allwinner-cpucfg.h
@@ -29,9 +29,7 @@
*/
#define TYPE_AW_CPUCFG "allwinner-cpucfg"
-typedef struct AwCpuCfgState AwCpuCfgState;
-DECLARE_INSTANCE_CHECKER(AwCpuCfgState, AW_CPUCFG,
- TYPE_AW_CPUCFG)
+OBJECT_DECLARE_SIMPLE_TYPE(AwCpuCfgState, AW_CPUCFG)
/** @} */