Re: [PATCH] USB: dwc2-usb: add USB_GADGET dependency

2016-06-27 Thread John Youn
On 6/24/2016 12:28 AM, Arnd Bergmann wrote: > The driver selects NOP_USB_XCEIV, which can only be built-in if > USB_GADGET is either disabled or also built-in, so with USB_DWC2_PCI=y > and USB_GADGET=m, NOP_USB_XCEIV is also built-in and we get this link > error: > > drivers/usb/built-in.o: In fun

[PATCH] USB: dwc2-usb: add USB_GADGET dependency

2016-06-24 Thread Arnd Bergmann
The driver selects NOP_USB_XCEIV, which can only be built-in if USB_GADGET is either disabled or also built-in, so with USB_DWC2_PCI=y and USB_GADGET=m, NOP_USB_XCEIV is also built-in and we get this link error: drivers/usb/built-in.o: In function `nop_set_peripheral': (text+0x1927c): undefined re