[PATCH 25/36] Use menuconfig objects II - (external_)power

From: Jan Engelhardt
Date: Mon Apr 30 2007 - 07:51:10 EST

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@xxxxxx>

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"
+menuconfig EXTERNAL_POWER
tristate "External power kernel interface"
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.

config PDA_POWER
tristate "Generic PDA/phone power driver"
- depends on EXTERNAL_POWER
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/