linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 15/36] Use menuconfig objects II - Macintosh
       [not found] <Pine.LNX.4.61.0704301225060.29151@yvahk01.tjqt.qr>
@ 2007-04-30 11:37 ` Jan Engelhardt
  0 siblings, 0 replies; only message in thread
From: Jan Engelhardt @ 2007-04-30 11:37 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: linuxppc-dev, Andrew Morton, Linux Kernel Mailing List


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/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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-30 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.61.0704301225060.29151@yvahk01.tjqt.qr>
2007-04-30 11:37 ` [PATCH 15/36] Use menuconfig objects II - Macintosh Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).