]> err.no Git - linux-2.6/commitdiff
[POWERPC] Use menuconfig objects II - Macintosh
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Mon, 30 Apr 2007 11:37:55 +0000 (21:37 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 May 2007 10:04:30 +0000 (20:04 +1000)
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>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/Kconfig

index be9cdf09d89a41a9a54cd5924a34f8870394aa1e..a32c91e27b3c466a98e3b6ee2b66d612f3255e88 100644 (file)
@@ -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"
@@ -236,4 +240,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