diff options
Diffstat (limited to 'hw/i386/port92.c')
-rw-r--r-- | hw/i386/port92.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i386/port92.c b/hw/i386/port92.c index 48200def5d..c00dcb261b 100644 --- a/hw/i386/port92.c +++ b/hw/i386/port92.c @@ -15,7 +15,8 @@ #include "qom/object.h" typedef struct Port92State Port92State; -#define PORT92(obj) OBJECT_CHECK(Port92State, (obj), TYPE_PORT92) +DECLARE_INSTANCE_CHECKER(Port92State, PORT92, + TYPE_PORT92) struct Port92State { ISADevice parent_obj; |