diff options
Diffstat (limited to 'hw/net/mipsnet.c')
-rw-r--r-- | hw/net/mipsnet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/net/mipsnet.c b/hw/net/mipsnet.c index 094951abb3..61dbd575da 100644 --- a/hw/net/mipsnet.c +++ b/hw/net/mipsnet.c @@ -26,7 +26,8 @@ #define TYPE_MIPS_NET "mipsnet" typedef struct MIPSnetState MIPSnetState; -#define MIPS_NET(obj) OBJECT_CHECK(MIPSnetState, (obj), TYPE_MIPS_NET) +DECLARE_INSTANCE_CHECKER(MIPSnetState, MIPS_NET, + TYPE_MIPS_NET) struct MIPSnetState { SysBusDevice parent_obj; |