diff options
Diffstat (limited to 'hw/i386/vmport.c')
-rw-r--r-- | hw/i386/vmport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i386/vmport.c b/hw/i386/vmport.c index 3720834630..df52b6f903 100644 --- a/hw/i386/vmport.c +++ b/hw/i386/vmport.c @@ -64,7 +64,8 @@ #define VCPU_INFO_RESERVED_BIT 31 typedef struct VMPortState VMPortState; -#define VMPORT(obj) OBJECT_CHECK(VMPortState, (obj), TYPE_VMPORT) +DECLARE_INSTANCE_CHECKER(VMPortState, VMPORT, + TYPE_VMPORT) struct VMPortState { ISADevice parent_obj; |