diff options
Diffstat (limited to 'hw/display/vga-isa.c')
-rw-r--r-- | hw/display/vga-isa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/display/vga-isa.c b/hw/display/vga-isa.c index 50efc3760a..0ebfcca9d1 100644 --- a/hw/display/vga-isa.c +++ b/hw/display/vga-isa.c @@ -36,7 +36,8 @@ #define TYPE_ISA_VGA "isa-vga" typedef struct ISAVGAState ISAVGAState; -#define ISA_VGA(obj) OBJECT_CHECK(ISAVGAState, (obj), TYPE_ISA_VGA) +DECLARE_INSTANCE_CHECKER(ISAVGAState, ISA_VGA, + TYPE_ISA_VGA) struct ISAVGAState { ISADevice parent_obj; |