]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/i386/x86-iommu.h
Use OBJECT_DECLARE_TYPE when possible
[mirror_qemu.git] / include / hw / i386 / x86-iommu.h
index bbfaf44e7929c3a76c2bfe15572ee6359d0018dd..9de92d33a11e9624223881804c9a3b30e05cd78e 100644 (file)
 #include "qom/object.h"
 
 #define  TYPE_X86_IOMMU_DEVICE  ("x86-iommu")
-typedef struct X86IOMMUClass X86IOMMUClass;
-typedef struct X86IOMMUState X86IOMMUState;
-DECLARE_OBJ_CHECKERS(X86IOMMUState, X86IOMMUClass,
-                     X86_IOMMU_DEVICE, TYPE_X86_IOMMU_DEVICE)
+OBJECT_DECLARE_TYPE(X86IOMMUState, X86IOMMUClass, X86_IOMMU_DEVICE)
 
 #define X86_IOMMU_SID_INVALID             (0xffff)