summaryrefslogtreecommitdiff
path: root/drivers/macintosh/Kconfig
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-04-30 21:37:55 +1000
committerPaul Mackerras <paulus@samba.org>2007-05-02 20:04:30 +1000
commit0f21712df1cbf21d35da8287331d64ff75ca7b01 (patch)
treedfd603472bf45f155fe9728dead361d787a784c6 /drivers/macintosh/Kconfig
parentbe9c94dd7776467813419f49fabe8017bc2d4c81 (diff)
downloadlinux-3.10-0f21712df1cbf21d35da8287331d64ff75ca7b01.tar.gz
linux-3.10-0f21712df1cbf21d35da8287331d64ff75ca7b01.tar.bz2
linux-3.10-0f21712df1cbf21d35da8287331d64ff75ca7b01.zip
[POWERPC] Use menuconfig objects II - Macintosh
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>
Diffstat (limited to 'drivers/macintosh/Kconfig')
-rw-r--r--drivers/macintosh/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index be9cdf09d89..a32c91e27b3 100644
--- a/drivers/macintosh/Kconfig
+++ b/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"
@@ -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