]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/misc/tz-msc.h
Move QOM typedefs and add missing includes
[mirror_qemu.git] / include / hw / misc / tz-msc.h
index 116b96ae9b85562e044dede97a039d8b76fd4fba..3f719833a9f59ce3749f9e4f6bcec02662982df3 100644 (file)
 
 #include "hw/sysbus.h"
 #include "target/arm/idau.h"
+#include "qom/object.h"
 
 #define TYPE_TZ_MSC "tz-msc"
+typedef struct TZMSC TZMSC;
 #define TZ_MSC(obj) OBJECT_CHECK(TZMSC, (obj), TYPE_TZ_MSC)
 
-typedef struct TZMSC {
+struct TZMSC {
     /*< private >*/
     SysBusDevice parent_obj;
 
@@ -74,6 +76,6 @@ typedef struct TZMSC {
     AddressSpace downstream_as;
     MemoryRegion upstream;
     IDAUInterface *idau;
-} TZMSC;
+};
 
 #endif