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/serial | |
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/serial')
-rw-r--r-- | drivers/usb/serial/Kconfig | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/usb/serial/Kconfig b/drivers/usb/serial/Kconfig index 5df5d0fe258a..c1e65dfd9353 100644 --- a/drivers/usb/serial/Kconfig +++ b/drivers/usb/serial/Kconfig | |||
@@ -2,10 +2,7 @@ | |||
2 | # USB Serial device configuration | 2 | # USB Serial device configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "USB Serial Converter support" | 5 | menuconfig USB_SERIAL |
6 | depends on USB!=n | ||
7 | |||
8 | config USB_SERIAL | ||
9 | tristate "USB Serial Converter support" | 6 | tristate "USB Serial Converter support" |
10 | depends on USB | 7 | depends on USB |
11 | ---help--- | 8 | ---help--- |
@@ -20,6 +17,8 @@ config USB_SERIAL | |||
20 | To compile this driver as a module, choose M here: the | 17 | To compile this driver as a module, choose M here: the |
21 | module will be called usbserial. | 18 | module will be called usbserial. |
22 | 19 | ||
20 | if USB_SERIAL | ||
21 | |||
23 | config USB_SERIAL_CONSOLE | 22 | config USB_SERIAL_CONSOLE |
24 | bool "USB Serial Console device support (EXPERIMENTAL)" | 23 | bool "USB Serial Console device support (EXPERIMENTAL)" |
25 | depends on USB_SERIAL=y && EXPERIMENTAL | 24 | depends on USB_SERIAL=y && EXPERIMENTAL |
@@ -606,6 +605,4 @@ config USB_SERIAL_DEBUG | |||
606 | To compile this driver as a module, choose M here: the | 605 | To compile this driver as a module, choose M here: the |
607 | module will be called usb-debug. | 606 | module will be called usb-debug. |
608 | 607 | ||
609 | 608 | endif # USB_SERIAL | |
610 | endmenu | ||
611 | |||