]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/input/adb.h
Use OBJECT_DECLARE_TYPE when possible
[mirror_qemu.git] / include / hw / input / adb.h
index 285f70db55e5f83c4af9c993460265e65fe2b1e6..3d1c2f4b105e46c86dcb7b0362133abb14462df0 100644 (file)
@@ -43,9 +43,7 @@ typedef int ADBDeviceRequest(ADBDevice *d, uint8_t *buf_out,
 typedef bool ADBDeviceHasData(ADBDevice *d);
 
 #define TYPE_ADB_DEVICE "adb-device"
-typedef struct ADBDeviceClass ADBDeviceClass;
-DECLARE_OBJ_CHECKERS(ADBDevice, ADBDeviceClass,
-                     ADB_DEVICE, TYPE_ADB_DEVICE)
+OBJECT_DECLARE_TYPE(ADBDevice, ADBDeviceClass, ADB_DEVICE)
 
 struct ADBDevice {
     /*< private >*/