aboutsummaryrefslogtreecommitdiff
path: root/include/hw/usb/chipidea.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/usb/chipidea.h')
-rw-r--r--include/hw/usb/chipidea.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/usb/chipidea.h b/include/hw/usb/chipidea.h
index 1db449e..f0303b8 100644
--- a/include/hw/usb/chipidea.h
+++ b/include/hw/usb/chipidea.h
@@ -13,6 +13,7 @@ struct ChipideaState {
typedef struct ChipideaState ChipideaState;
#define TYPE_CHIPIDEA "usb-chipidea"
-#define CHIPIDEA(obj) OBJECT_CHECK(ChipideaState, (obj), TYPE_CHIPIDEA)
+DECLARE_INSTANCE_CHECKER(ChipideaState, CHIPIDEA,
+ TYPE_CHIPIDEA)
#endif /* CHIPIDEA_H */