]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/hyperv/hyperv.c
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / hw / hyperv / hyperv.c
index aa5a2a9bd853ed6322723576ef32fafb85918793..4b26db1365099ee8f746852dc2a9f872c7d468a6 100644 (file)
@@ -35,11 +35,9 @@ struct SynICState {
     struct hyperv_message_page *msg_page;
     struct hyperv_event_flags_page *event_page;
 };
-typedef struct SynICState SynICState;
 
 #define TYPE_SYNIC "hyperv-synic"
-DECLARE_INSTANCE_CHECKER(SynICState, SYNIC,
-                         TYPE_SYNIC)
+OBJECT_DECLARE_SIMPLE_TYPE(SynICState, SYNIC)
 
 static bool synic_enabled;