diff options
Diffstat (limited to 'hw/display/bochs-display.c')
-rw-r--r-- | hw/display/bochs-display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/bochs-display.c b/hw/display/bochs-display.c index ef92f3a4e7..41587388c4 100644 --- a/hw/display/bochs-display.c +++ b/hw/display/bochs-display.c @@ -58,8 +58,8 @@ struct BochsDisplayState { typedef struct BochsDisplayState BochsDisplayState; #define TYPE_BOCHS_DISPLAY "bochs-display" -#define BOCHS_DISPLAY(obj) OBJECT_CHECK(BochsDisplayState, (obj), \ - TYPE_BOCHS_DISPLAY) +DECLARE_INSTANCE_CHECKER(BochsDisplayState, BOCHS_DISPLAY, + TYPE_BOCHS_DISPLAY) static const VMStateDescription vmstate_bochs_display = { .name = "bochs-display", |