|
@@ -12,10 +12,9 @@
|
|
|
# With help from a special transceiver and a "Mini-AB" jack, systems with
|
|
|
# both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
|
|
|
#
|
|
|
-menu "USB Gadget Support"
|
|
|
|
|
|
-config USB_GADGET
|
|
|
- tristate "Support for USB Gadgets"
|
|
|
+menuconfig USB_GADGET
|
|
|
+ tristate "USB Gadget Support"
|
|
|
help
|
|
|
USB is a master/slave protocol, organized with one master
|
|
|
host (such as a PC) controlling up to 127 peripheral devices.
|
|
@@ -42,6 +41,8 @@ config USB_GADGET
|
|
|
For more information, see <http://www.linux-usb.org/gadget> and
|
|
|
the kernel DocBook documentation for this API.
|
|
|
|
|
|
+if USB_GADGET
|
|
|
+
|
|
|
config USB_GADGET_DEBUG
|
|
|
boolean "Debugging messages"
|
|
|
depends on USB_GADGET && DEBUG_KERNEL && EXPERIMENTAL
|
|
@@ -570,4 +571,4 @@ config USB_G_PRINTER
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
-endmenu
|
|
|
+endif # USB_GADGET
|