]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci-bridge/dec.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / hw / pci-bridge / dec.c
index b35866d8d1fcc82b85b899464ed301f46c0f39df..e88998d88c426b2456b2395c1b6ca903b969ae20 100644 (file)
@@ -35,7 +35,8 @@
 #include "qom/object.h"
 
 typedef struct DECState DECState;
-#define DEC_21154(obj) OBJECT_CHECK(DECState, (obj), TYPE_DEC_21154)
+DECLARE_INSTANCE_CHECKER(DECState, DEC_21154,
+                         TYPE_DEC_21154)
 
 struct DECState {
     PCIHostState parent_obj;