[PATCH 09/36] Use menuconfig objects II - IEEE1394

From: Jan Engelhardt
Date: Mon Apr 30 2007 - 07:31:38 EST



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.

Follows Stefan's suggestion as per http://lkml.org/lkml/2007/4/28/108

Signed-off-by: Jan Engelhardt <jengelh@xxxxxx>

---
drivers/ieee1394/Kconfig | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/ieee1394/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/ieee1394/Kconfig
@@ -1,4 +1,8 @@
-menu "IEEE 1394 (FireWire) support"
+menuconfig IEEE1394_SUPPORT
+ bool "IEEE 1394 (FireWire) support"
+ default y
+
+if IEEE1394_SUPPORT

source "drivers/firewire/Kconfig"

@@ -146,4 +150,4 @@ config IEEE1394_RAWIO
To compile this driver as a module, say M here: the module will be
called raw1394.

-endmenu
+endif # IEEE1394_SUPPORT
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/