diff options
Diffstat (limited to 'hw/misc/sga.c')
-rw-r--r-- | hw/misc/sga.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/misc/sga.c b/hw/misc/sga.c index e5cc2da3d3..477f587ef3 100644 --- a/hw/misc/sga.c +++ b/hw/misc/sga.c @@ -35,7 +35,8 @@ #define TYPE_SGA "sga" typedef struct ISASGAState ISASGAState; -#define SGA(obj) OBJECT_CHECK(ISASGAState, (obj), TYPE_SGA) +DECLARE_INSTANCE_CHECKER(ISASGAState, SGA, + TYPE_SGA) struct ISASGAState { ISADevice parent_obj; |