diff options
Diffstat (limited to 'hw/usb/tusb6010.c')
-rw-r--r-- | hw/usb/tusb6010.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb/tusb6010.c b/hw/usb/tusb6010.c index a15ee51..2bee3ae 100644 --- a/hw/usb/tusb6010.c +++ b/hw/usb/tusb6010.c @@ -32,7 +32,8 @@ #define TYPE_TUSB6010 "tusb6010" typedef struct TUSBState TUSBState; -#define TUSB(obj) OBJECT_CHECK(TUSBState, (obj), TYPE_TUSB6010) +DECLARE_INSTANCE_CHECKER(TUSBState, TUSB, + TYPE_TUSB6010) struct TUSBState { SysBusDevice parent_obj; |