]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/ipack/ipack.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / ipack / ipack.h
index 58c611af250723ebd9b77a42b5f598cd21cac54e..75014e74ae16a19905bfbc6bec16872a7b428dd1 100644 (file)
 #include "hw/qdev-core.h"
 #include "qom/object.h"
 
-typedef struct IPackBus IPackBus;
 
 #define TYPE_IPACK_BUS "IndustryPack"
-DECLARE_INSTANCE_CHECKER(IPackBus, IPACK_BUS,
-                         TYPE_IPACK_BUS)
+OBJECT_DECLARE_SIMPLE_TYPE(IPackBus, IPACK_BUS)
 
 struct IPackBus {
     /*< private >*/