]> git.proxmox.com Git - mirror_qemu.git/blobdiff - backends/cryptodev-builtin.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / backends / cryptodev-builtin.c
index 84bd84efe74a324c225cf336e1e10f02f6b04815..f047ad03625c2de1dec1a3ec5f5db98cdbe38118 100644 (file)
@@ -37,9 +37,8 @@
 
 typedef struct CryptoDevBackendBuiltin
                          CryptoDevBackendBuiltin;
-#define CRYPTODEV_BACKEND_BUILTIN(obj) \
-    OBJECT_CHECK(CryptoDevBackendBuiltin, \
-                 (obj), TYPE_CRYPTODEV_BACKEND_BUILTIN)
+DECLARE_INSTANCE_CHECKER(CryptoDevBackendBuiltin, CRYPTODEV_BACKEND_BUILTIN,
+                         TYPE_CRYPTODEV_BACKEND_BUILTIN)
 
 
 typedef struct CryptoDevBackendBuiltinSession {