Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579834 > unrolled thread

[PATCH] usb: gadget: legacy gadgets are optional

Started byRomain Izard <romain.izard.pro@gmail.com>
First post2017-02-13 16:00 +0100
Last post2017-02-13 16:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] usb: gadget: legacy gadgets are optional Romain Izard <romain.izard.pro@gmail.com> - 2017-02-13 16:00 +0100

#1579834 — [PATCH] usb: gadget: legacy gadgets are optional

FromRomain Izard <romain.izard.pro@gmail.com>
Date2017-02-13 16:00 +0100
Subject[PATCH] usb: gadget: legacy gadgets are optional
Message-ID<taqgK-519-5@gated-at.bofh.it>
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.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
cc: <stable@vger.kernel.org> # 4.9
---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 8ad203296079..f3ee80ece682 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -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
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web