Skip to contentSkip to conversation

usb: gadget: legacy gadgets are optional

PATCH Superseded Romain Izard 1 participant 1 message Feb 13, 2017

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: gadget: legacy gadgets are optional

When building without modules, it makes sense to configure the kernel to only use configfs for USB Gadget drivers.

Mark the choice for legacy gadget drivers as optional.

---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/gadget/Kconfig +1 -0
index 8ad203296079..f3ee80ece682 100644
@@ -460,6 +460,7 @@ config USB_CONFIGFS_F_TCM
 choice
 	tristate "USB Gadget Drivers"
 	default USB_ETH
+	optional
 	help
 	  A Linux "Gadget Driver" talks to the USB Peripheral Controller
 	  driver through the abstract "gadget" API.  Some other operating
Signature · 1 line
2.9.3