lkml.org 
[lkml]   [2007]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 30 Apr 2007 13:55:37 +0200 (MEST)
FromJan Engelhardt <>
Subject[PATCH 32/36] Use menuconfig objects II - USB

Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
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: Jan Engelhardt <jengelh@gmx.de>

---
drivers/usb/Kconfig | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
--- linux-2.6.21-mm_20070428.orig/drivers/usb/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/usb/Kconfig
@@ -2,7 +2,11 @@
# USB device configuration
#

-menu "USB support"
+menuconfig USB_SUPPORT
+ bool "USB support"
+ default y
+
+if USB_SUPPORT

# Host-side USB depends on having a host controller
# NOTE: dummy_hcd is always an option, but it's ignored here ...
@@ -133,5 +137,4 @@ source "drivers/usb/atm/Kconfig"

source "drivers/usb/gadget/Kconfig"

-endmenu
-
+endif # USB_SUPPORT
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-04-30 13:59    [from the cache]
©2003-2010