summaryrefslogtreecommitdiff
path: root/hw/usb/hcd-dwc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/hcd-dwc2.h')
-rw-r--r--hw/usb/hcd-dwc2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/usb/hcd-dwc2.h b/hw/usb/hcd-dwc2.h
index 919e3e43b1..6998b04706 100644
--- a/hw/usb/hcd-dwc2.h
+++ b/hw/usb/hcd-dwc2.h
@@ -181,7 +181,6 @@ struct DWC2Class {
};
#define TYPE_DWC2_USB "dwc2-usb"
-DECLARE_OBJ_CHECKERS(DWC2State, DWC2Class,
- DWC2_USB, TYPE_DWC2_USB)
+OBJECT_DECLARE_TYPE(DWC2State, DWC2Class, DWC2_USB)
#endif