lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 30 Apr 2007 13:48:59 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Andrew Morton <akpm@...ux-foundation.org>
cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Anton Vorontsov <cbou@...l.ru>
Subject: [PATCH 25/36] Use menuconfig objects II - (external_)power


Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

Signed-off-by: Jan Engelhardt <jengelh@....de>

---
 drivers/power/Kconfig |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/power/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/power/Kconfig
@@ -1,7 +1,5 @@
 
-menu "External power support"
-
-config EXTERNAL_POWER
+menuconfig EXTERNAL_POWER
 	tristate "External power kernel interface"
 	help
 	  Say Y here to enable kernel external power detection interface,
@@ -10,12 +8,13 @@ config EXTERNAL_POWER
 
 	  This interface is mandatory for battery class support.
 
+if EXTERNAL_POWER
+
 config PDA_POWER
 	tristate "Generic PDA/phone power driver"
-	depends on EXTERNAL_POWER
 	help
 	  Say Y here to enable generic power driver for PDAs and phones with
 	  one or two external power supplies (AC/USB) connected to main and
 	  backup batteries, and optional builtin charger.
 
-endmenu
+endif # EXTERNAL_POWER
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ