]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/isa/i82378.c
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / hw / isa / i82378.c
index 1dcf525f3f089470a8165dd1fe98186ebeb0979f..8285b06e1df1c13cde2b6c852c40f679406d2d50 100644 (file)
@@ -27,9 +27,7 @@
 #include "qom/object.h"
 
 #define TYPE_I82378 "i82378"
-typedef struct I82378State I82378State;
-DECLARE_INSTANCE_CHECKER(I82378State, I82378,
-                         TYPE_I82378)
+OBJECT_DECLARE_SIMPLE_TYPE(I82378State, I82378)
 
 struct I82378State {
     PCIDevice parent_obj;