diff options
Diffstat (limited to 'hw/display/next-fb.c')
-rw-r--r-- | hw/display/next-fb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/display/next-fb.c b/hw/display/next-fb.c index 068dc0656f..94db0202a3 100644 --- a/hw/display/next-fb.c +++ b/hw/display/next-fb.c @@ -33,7 +33,8 @@ #include "qom/object.h" typedef struct NeXTFbState NeXTFbState; -#define NEXTFB(obj) OBJECT_CHECK(NeXTFbState, (obj), TYPE_NEXTFB) +DECLARE_INSTANCE_CHECKER(NeXTFbState, NEXTFB, + TYPE_NEXTFB) struct NeXTFbState { SysBusDevice parent_obj; |