On 7/27/20 6:23 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20200724: > on i386: CONFIG_USB_DWC2=y CONFIG_USB_DWC2_HOST=y # # Gadget/Dual-role mode requires USB Gadget support to be enabled # # CONFIG_USB_DWC2_PERIPHERAL is not set # CONFIG_USB_DWC2_DUAL_ROLE is not set # CONFIG_USB_DWC2_PCI is not set CONFIG_USB_DWC2_DEBUG=y # CONFIG_USB_DWC2_VERBOSE is not set # CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set CONFIG_USB_DWC2_DEBUG_PERIODIC=y ../drivers/usb/dwc2/drd.c: In function ‘dwc2_drd_role_sw_set’: ../drivers/usb/dwc2/drd.c:80:38: error: ‘struct dwc2_hsotg’ has no member named ‘test_mode’; did you mean ‘dr_mode’? if (role == USB_ROLE_NONE && hsotg->test_mode) { ^~~~~~~~~ dr_mode ../drivers/usb/dwc2/drd.c:114:5: error: implicit declaration of function ‘dwc2_hsotg_core_disconnect’; did you mean ‘dwc2_hsotg_core_connect’? [-Werror=implicit-function-declaration] dwc2_hsotg_core_disconnect(hsotg); ^~~~~~~~~~~~~~~~~~~~~~~~~~ dwc2_hsotg_core_connect -- ~Randy Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>