mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
When EXTCON is a loadable module, mtu3 fails to link as built-in:
drivers/usb/mtu3/mtu3_plat.o: In function `mtu3_probe':
mtu3_plat.c:(.text+0x690): undefined reference to `extcon_get_edev_by_phandle'
Add a Kconfig dependency to force mtu3 also to be a loadable module
if extconn is, but still allow it to be built without extcon.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mtu3_core.c | ||
| mtu3_dr.c | ||
| mtu3_dr.h | ||
| mtu3_gadget_ep0.c | ||
| mtu3_gadget.c | ||
| mtu3_host.c | ||
| mtu3_hw_regs.h | ||
| mtu3_plat.c | ||
| mtu3_qmu.c | ||
| mtu3_qmu.h | ||
| mtu3.h | ||