aboutsummaryrefslogtreecommitdiff
path: root/include/hw/hyperv/vmbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/hyperv/vmbus.h')
-rw-r--r--include/hw/hyperv/vmbus.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/hw/hyperv/vmbus.h b/include/hw/hyperv/vmbus.h
index 0fe3d3b47c..00ad8798c1 100644
--- a/include/hw/hyperv/vmbus.h
+++ b/include/hw/hyperv/vmbus.h
@@ -20,10 +20,8 @@
#define TYPE_VMBUS_DEVICE "vmbus-dev"
-typedef struct VMBusDevice VMBusDevice;
-typedef struct VMBusDeviceClass VMBusDeviceClass;
-DECLARE_OBJ_CHECKERS(VMBusDevice, VMBusDeviceClass,
- VMBUS_DEVICE, TYPE_VMBUS_DEVICE)
+OBJECT_DECLARE_TYPE(VMBusDevice, VMBusDeviceClass,
+ vmbus_device, VMBUS_DEVICE)
#define TYPE_VMBUS "vmbus"
typedef struct VMBus VMBus;