Prepare v2023.10
[platform/kernel/u-boot.git] / drivers / usb / gadget / gadget_chips.h
index abc6dc7..98156c3 100644 (file)
 #define gadget_is_ci(g)        0
 #endif
 
-#ifdef CONFIG_USB_GADGET_FOTG210
-#define gadget_is_fotg210(g)        (!strcmp("fotg210_udc", (g)->name))
-#else
-#define gadget_is_fotg210(g)        0
-#endif
-
 #ifdef CONFIG_USB_DWC3_GADGET
 #define gadget_is_dwc3(g)        (!strcmp("dwc3-gadget", (g)->name))
 #else
@@ -202,8 +196,6 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget)
                return 0x20;
        else if (gadget_is_ci(gadget))
                return 0x21;
-       else if (gadget_is_fotg210(gadget))
-               return 0x22;
        else if (gadget_is_dwc3(gadget))
                return 0x23;
        else if (gadget_is_cdns3(gadget))