]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/misc/allwinner-cpucfg.h
Move QOM typedefs and add missing includes
[mirror_qemu.git] / include / hw / misc / allwinner-cpucfg.h
index 2c3693a8bec9bf2d0b70eeb807657d26fa313bae..f5420b11d534ed56b455ce9a5dbed8c8b6cde832 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #define TYPE_AW_CPUCFG   "allwinner-cpucfg"
+typedef struct AwCpuCfgState AwCpuCfgState;
 #define AW_CPUCFG(obj) \
     OBJECT_CHECK(AwCpuCfgState, (obj), TYPE_AW_CPUCFG)
 
@@ -37,7 +38,7 @@
 /**
  * Allwinner CPU Configuration Module instance state
  */
-typedef struct AwCpuCfgState {
+struct AwCpuCfgState {
     /*< private >*/
     SysBusDevice parent_obj;
     /*< public >*/
@@ -47,6 +48,6 @@ typedef struct AwCpuCfgState {
     uint32_t super_standby;
     uint32_t entry_addr;
 
-} AwCpuCfgState;
+};
 
 #endif /* HW_MISC_ALLWINNER_CPUCFG_H */