]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/pci-host/uninorth.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / pci-host / uninorth.h
index d10c598298b5200673ff574a42094b7bb34e034c..a6ba5f21a8f1d76e5aa38fc59389697daa8e70e3 100644 (file)
@@ -63,10 +63,8 @@ struct UNINState {
 
     MemoryRegion mem;
 };
-typedef struct UNINState UNINState;
 
 #define TYPE_UNI_NORTH "uni-north"
-DECLARE_INSTANCE_CHECKER(UNINState, UNI_NORTH,
-                         TYPE_UNI_NORTH)
+OBJECT_DECLARE_SIMPLE_TYPE(UNINState, UNI_NORTH)
 
 #endif /* UNINORTH_H */