]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppc/ppc440_pcix.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / hw / ppc / ppc440_pcix.c
index f82d520d2581da795c69d080aad8ce5232ab673a..a564fcd600f31d85015f3d69eb1fe42520c87154 100644 (file)
@@ -47,8 +47,8 @@ struct PLBInMap {
 
 #define TYPE_PPC440_PCIX_HOST_BRIDGE "ppc440-pcix-host"
 typedef struct PPC440PCIXState PPC440PCIXState;
-#define PPC440_PCIX_HOST_BRIDGE(obj) \
-    OBJECT_CHECK(PPC440PCIXState, (obj), TYPE_PPC440_PCIX_HOST_BRIDGE)
+DECLARE_INSTANCE_CHECKER(PPC440PCIXState, PPC440_PCIX_HOST_BRIDGE,
+                         TYPE_PPC440_PCIX_HOST_BRIDGE)
 
 #define PPC440_PCIX_NR_POMS 3
 #define PPC440_PCIX_NR_PIMS 3