[lkml]   [2007]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 03/36] Use menuconfig objects II - battery

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

    drivers/battery/Kconfig | 12 ++++++------
    1 file changed, 6 insertions(+), 6 deletions(-)

    --- linux-2.6.21-mm_20070428.orig/drivers/battery/Kconfig
    +++ linux-2.6.21-mm_20070428/drivers/battery/Kconfig
    @@ -1,7 +1,5 @@

    -menu "Battery devices"
    -config BATTERY
    +menuconfig BATTERY
    tristate "Battery class support"
    @@ -9,16 +7,18 @@ config BATTERY
    monitoring by userspace via sysfs (if available) and/or APM
    kernel interface (if selected below).

    +if BATTERY
    config APM_POWER
    tristate "APM emulation for class batteries"
    - depends on BATTERY && APM_EMULATION
    + depends on APM_EMULATION
    Say Y here to enable support APM status emulation using
    battery class devices.

    config BATTERY_DS2760
    tristate "DS2760 battery driver (HP iPAQ & others)"
    - depends on BATTERY && W1
    + depends on W1
    select W1_SLAVE_DS2760
    Say Y here to enable support for batteries with ds2760 chip.
    @@ -30,4 +30,4 @@ config BATTERY_PMU
    Say Y here to expose battery information on Apple machines
    through the generic battery class.

    +endif # BATTERY
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2007-04-30 13:27    [W:0.025 / U:0.908 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site