]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/display/next-fb.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / hw / display / next-fb.c
index 068dc0656f18bd3f9c172f4fa0e6914462b8d9eb..94db0202a323a9d0b78cb6067dfe6f3cd184d360 100644 (file)
@@ -33,7 +33,8 @@
 #include "qom/object.h"
 
 typedef struct NeXTFbState NeXTFbState;
-#define NEXTFB(obj) OBJECT_CHECK(NeXTFbState, (obj), TYPE_NEXTFB)
+DECLARE_INSTANCE_CHECKER(NeXTFbState, NEXTFB,
+                         TYPE_NEXTFB)
 
 struct NeXTFbState {
     SysBusDevice parent_obj;