]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/display/vga-isa.c
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / hw / display / vga-isa.c
index 0ebfcca9d1ddd3cbe1da66c68bfe2af7269b6345..90851e730bcde1aeff855119ca251418d9ef228e 100644 (file)
@@ -35,9 +35,7 @@
 #include "qom/object.h"
 
 #define TYPE_ISA_VGA "isa-vga"
-typedef struct ISAVGAState ISAVGAState;
-DECLARE_INSTANCE_CHECKER(ISAVGAState, ISA_VGA,
-                         TYPE_ISA_VGA)
+OBJECT_DECLARE_SIMPLE_TYPE(ISAVGAState, ISA_VGA)
 
 struct ISAVGAState {
     ISADevice parent_obj;