]> git.proxmox.com Git - mirror_qemu.git/blobdiff - chardev/wctablet.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / chardev / wctablet.c
index 361a12fdd4880dee24813dc3e183fe114a769335..95e005f5a5639f055070456e418c0a83363badf2 100644 (file)
@@ -86,8 +86,8 @@ struct TabletChardev {
 typedef struct TabletChardev TabletChardev;
 
 #define TYPE_CHARDEV_WCTABLET "chardev-wctablet"
-#define WCTABLET_CHARDEV(obj)                                      \
-    OBJECT_CHECK(TabletChardev, (obj), TYPE_CHARDEV_WCTABLET)
+DECLARE_INSTANCE_CHECKER(TabletChardev, WCTABLET_CHARDEV,
+                         TYPE_CHARDEV_WCTABLET)
 
 
 static void wctablet_chr_accept_input(Chardev *chr);