aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-05-24 04:23:02 -0400
committerFelipe Balbi <balbi@ti.com>2013-06-10 10:11:33 -0400
commitcbbd14a9021140a306a01f8fcaa645faafae18a5 (patch)
treee3543fc4458ea386e0d006094e9e08fd6e2ca26a /drivers/usb/gadget/Kconfig
parentf1a1823ff24fa4e3412b5078f20021cf40834946 (diff)
usb: gadget: rndis: convert into module
In order to convert to configfs the usb functions need to be converted to a new interface and compiled as modules. This patch creates an rndis module which will be used by the new functions. After all users of f_rndis are converted to the new interface, this module can be merged with f_rndis module. Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index d5ae4dff3b90..5345b6895220 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -502,6 +502,9 @@ config USB_U_SERIAL
502config USB_U_ETHER 502config USB_U_ETHER
503 tristate 503 tristate
504 504
505config USB_U_RNDIS
506 tristate
507
505config USB_F_SERIAL 508config USB_F_SERIAL
506 tristate 509 tristate
507 510
@@ -599,6 +602,7 @@ config USB_ETH
599 depends on NET 602 depends on NET
600 select USB_LIBCOMPOSITE 603 select USB_LIBCOMPOSITE
601 select USB_U_ETHER 604 select USB_U_ETHER
605 select USB_U_RNDIS
602 select CRC32 606 select CRC32
603 help 607 help
604 This driver implements Ethernet style communication, in one of 608 This driver implements Ethernet style communication, in one of
@@ -724,6 +728,7 @@ config USB_FUNCTIONFS_RNDIS
724 bool "Include configuration with RNDIS (Ethernet)" 728 bool "Include configuration with RNDIS (Ethernet)"
725 depends on USB_FUNCTIONFS && NET 729 depends on USB_FUNCTIONFS && NET
726 select USB_U_ETHER 730 select USB_U_ETHER
731 select USB_U_RNDIS
727 help 732 help
728 Include a configuration with RNDIS function (Ethernet) and the Filesystem. 733 Include a configuration with RNDIS function (Ethernet) and the Filesystem.
729 734
@@ -871,6 +876,7 @@ config USB_G_MULTI
871 select USB_LIBCOMPOSITE 876 select USB_LIBCOMPOSITE
872 select USB_U_SERIAL 877 select USB_U_SERIAL
873 select USB_U_ETHER 878 select USB_U_ETHER
879 select USB_U_RNDIS
874 select USB_F_ACM 880 select USB_F_ACM
875 help 881 help
876 The Multifunction Composite Gadget provides Ethernet (RNDIS 882 The Multifunction Composite Gadget provides Ethernet (RNDIS