diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-04-16 14:25:32 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-05-03 08:13:47 +0200 |
commit | 2100e3ca3676e894fa48b8f6f01d01733387fe81 (patch) | |
tree | 2d602d234f31f689e0d1c814872793541036cc57 /drivers/macintosh/windfarm_fcu_controls.c | |
parent | usb: gadget: f_ncm: Add OS descriptor support (diff) | |
download | linux-2100e3ca3676e894fa48b8f6f01d01733387fe81.tar.xz linux-2100e3ca3676e894fa48b8f6f01d01733387fe81.zip |
usb: gadget: fsl: fix link error against usb-gadget module
The dependency to ensure this driver links correctly fails since
it can not be a loadable module:
drivers/usb/phy/phy-fsl-usb.o: In function `fsl_otg_set_peripheral':
phy-fsl-usb.c:(.text+0x2224): undefined reference to `usb_gadget_vbus_disconnect'
Make the option 'tristate' so it can work correctly.
Fixes: 5a8d651a2bde ("usb: gadget: move gadget API functions to udc-core")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/macintosh/windfarm_fcu_controls.c')
0 files changed, 0 insertions, 0 deletions