From f473938d8f01d5c0f711757a3dfc646a0535cd93 Mon Sep 17 00:00:00 2001 From: Jack Pham Date: Tue, 21 Jan 2020 19:37:41 -0800 Subject: [PATCH] usb: gadget: Make USB_CONFIGFS_NCM buildable as a module Change the Kconfig definition from bool to tristate to allow building the NCM function as a loadable module. Change-Id: Ia7637b7ae2fdd1809d3e3a6b1d4521ce6d136095 Signed-off-by: Jack Pham --- drivers/usb/gadget/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 1d0c5632ff99..f29cde890e11 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -301,7 +301,7 @@ config USB_CONFIGFS_OBEX since the kernel itself doesn't implement the OBEX protocol. config USB_CONFIGFS_NCM - bool "Network Control Model (CDC NCM)" + tristate "Network Control Model (CDC NCM)" depends on USB_CONFIGFS depends on NET select USB_U_ETHER