From: Jan Engelhardt Date: Mon, 30 Apr 2007 11:37:55 +0000 (+1000) Subject: [POWERPC] Use menuconfig objects II - Macintosh X-Git-Tag: v2.6.22-rc1~358^2~59 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f21712df1cbf21d35da8287331d64ff75ca7b01;p=linux-2.6 [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 Signed-off-by: Paul Mackerras --- diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig index be9cdf09d8..a32c91e27b 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