]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/usb/hcd-xhci.h
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / hw / usb / hcd-xhci.h
index 867388a061c27f5eb5e9d97f6762c2ac8aa7b193..2110c0399e307e5dcf0f51e24b078efbc0f5b654 100644 (file)
@@ -28,8 +28,8 @@
 #define TYPE_QEMU_XHCI "qemu-xhci"
 
 typedef struct XHCIState XHCIState;
-#define XHCI(obj) \
-    OBJECT_CHECK(XHCIState, (obj), TYPE_XHCI)
+DECLARE_INSTANCE_CHECKER(XHCIState, XHCI,
+                         TYPE_XHCI)
 
 #define MAXPORTS_2 15
 #define MAXPORTS_3 15