diff options
author | Denis Cheng <crquan@gmail.com> | 2008-01-24 03:36:31 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 17:35:06 -0500 |
commit | b75be4abf18e9725766ed835f0d2cf201b52de7e (patch) | |
tree | 0533b72cf51f04db1f30f8fd6c36958cfa02ef1d /drivers/usb/gadget | |
parent | f54aab6ebcecd93e86cea34ddba5f3d454382041 (diff) |
USB: Use menuconfig objects
commit 04d06ad0f1fdb499af84ae3d7969e2136a462f38 have added menuconfig support
for the whole USB Kconfig, but there are still menuconfig need for usb/serial,
usb/atm, and usb/gadget, so that the user can disable all the options in that
menu at once instead of having to disable each option separately.
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 8a88f24270be..c13955164686 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -12,10 +12,9 @@ | |||
12 | # With help from a special transceiver and a "Mini-AB" jack, systems with | 12 | # With help from a special transceiver and a "Mini-AB" jack, systems with |
13 | # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). | 13 | # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). |
14 | # | 14 | # |
15 | menu "USB Gadget Support" | ||
16 | 15 | ||
17 | config USB_GADGET | 16 | menuconfig USB_GADGET |
18 | tristate "Support for USB Gadgets" | 17 | tristate "USB Gadget Support" |
19 | help | 18 | help |
20 | USB is a master/slave protocol, organized with one master | 19 | USB is a master/slave protocol, organized with one master |
21 | host (such as a PC) controlling up to 127 peripheral devices. | 20 | host (such as a PC) controlling up to 127 peripheral devices. |
@@ -42,6 +41,8 @@ config USB_GADGET | |||
42 | For more information, see <http://www.linux-usb.org/gadget> and | 41 | For more information, see <http://www.linux-usb.org/gadget> and |
43 | the kernel DocBook documentation for this API. | 42 | the kernel DocBook documentation for this API. |
44 | 43 | ||
44 | if USB_GADGET | ||
45 | |||
45 | config USB_GADGET_DEBUG | 46 | config USB_GADGET_DEBUG |
46 | boolean "Debugging messages" | 47 | boolean "Debugging messages" |
47 | depends on USB_GADGET && DEBUG_KERNEL && EXPERIMENTAL | 48 | depends on USB_GADGET && DEBUG_KERNEL && EXPERIMENTAL |
@@ -570,4 +571,4 @@ config USB_G_PRINTER | |||
570 | 571 | ||
571 | endchoice | 572 | endchoice |
572 | 573 | ||
573 | endmenu | 574 | endif # USB_GADGET |