[PATCH 15/36] Use menuconfig objects II - Macintosh

From: Jan Engelhardt
Date: Mon Apr 30 2007 - 07:39:48 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.

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

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

--- linux-2.6.21-mm_20070428.orig/drivers/macintosh/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/macintosh/Kconfig
@@ -1,6 +1,10 @@

-menu "Macintosh device drivers"
+menuconfig MACINTOSH_DRIVERS
+ bool "Macintosh device drivers"
depends on PPC || MAC || X86
+ default y
+
+if MACINTOSH_DRIVERS

config ADB
bool "Apple Desktop Bus (ADB) support"
@@ -234,4 +238,4 @@ config PMAC_RACKMETER
This driver procides some support to control the front panel
blue LEDs "vu-meter" of the XServer macs.

-endmenu
+endif # MACINTOSH_DRIVERS
-
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/