]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/misc/arm_l2x0.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / hw / misc / arm_l2x0.c
index f75d7988cc07d3913485c3e9f19afab3dd722a05..93948c3bd88bd1da9b6477ca67f96dcca78dc35c 100644 (file)
@@ -31,7 +31,8 @@
 
 #define TYPE_ARM_L2X0 "l2x0"
 typedef struct L2x0State L2x0State;
-#define ARM_L2X0(obj) OBJECT_CHECK(L2x0State, (obj), TYPE_ARM_L2X0)
+DECLARE_INSTANCE_CHECKER(L2x0State, ARM_L2X0,
+                         TYPE_ARM_L2X0)
 
 struct L2x0State {
     SysBusDevice parent_obj;