summaryrefslogtreecommitdiffstats
path: root/hw/display/g364fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/g364fb.c')
-rw-r--r--hw/display/g364fb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/display/g364fb.c b/hw/display/g364fb.c
index df674c3c01..4a32fe4c94 100644
--- a/hw/display/g364fb.c
+++ b/hw/display/g364fb.c
@@ -488,7 +488,8 @@ static void g364fb_init(DeviceState *dev, G364State *s)
#define TYPE_G364 "sysbus-g364"
typedef struct G364SysBusState G364SysBusState;
-#define G364(obj) OBJECT_CHECK(G364SysBusState, (obj), TYPE_G364)
+DECLARE_INSTANCE_CHECKER(G364SysBusState, G364,
+ TYPE_G364)
struct G364SysBusState {
SysBusDevice parent_obj;