]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/mips/boston.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / hw / mips / boston.c
index e2c35b4fd8e65a94888696243c0fa302eb7a9e38..1b3f69e949c213533bfbd1c3f5fd1b043d194824 100644 (file)
@@ -45,7 +45,8 @@
 
 #define TYPE_MIPS_BOSTON "mips-boston"
 typedef struct BostonState BostonState;
-#define BOSTON(obj) OBJECT_CHECK(BostonState, (obj), TYPE_MIPS_BOSTON)
+DECLARE_INSTANCE_CHECKER(BostonState, BOSTON,
+                         TYPE_MIPS_BOSTON)
 
 struct BostonState {
     SysBusDevice parent_obj;