diff options
Diffstat (limited to 'hw/net/stellaris_enet.c')
-rw-r--r-- | hw/net/stellaris_enet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c index 786dc9a6c6..9f13afa4e4 100644 --- a/hw/net/stellaris_enet.c +++ b/hw/net/stellaris_enet.c @@ -52,8 +52,8 @@ do { fprintf(stderr, "stellaris_enet: error: " fmt , ## __VA_ARGS__);} while (0) #define TYPE_STELLARIS_ENET "stellaris_enet" typedef struct stellaris_enet_state stellaris_enet_state; -#define STELLARIS_ENET(obj) \ - OBJECT_CHECK(stellaris_enet_state, (obj), TYPE_STELLARIS_ENET) +DECLARE_INSTANCE_CHECKER(stellaris_enet_state, STELLARIS_ENET, + TYPE_STELLARIS_ENET) typedef struct { uint8_t data[2048]; |