[BATTERY] Add Kconfig and Makefile bits for PMU battery

David Woodhouse dwmw2 at infradead.org
Tue Nov 7 22:38:28 EST 2006


Commit:     c8453602f86070b839521f9fcf1d8d1f7c1392eb
Parent:     55410d878c5e034be97ce2ae3b0d7e16fb0f985f
commit c8453602f86070b839521f9fcf1d8d1f7c1392eb
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Sat Oct 28 17:24:10 2006 +0300
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat Oct 28 17:24:10 2006 +0300

    [BATTERY] Add Kconfig and Makefile bits for PMU battery
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/battery/Kconfig  |    6 ++++++
 drivers/battery/Makefile |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/battery/Kconfig b/drivers/battery/Kconfig
index 9c2389a..337872c 100644
--- a/drivers/battery/Kconfig
+++ b/drivers/battery/Kconfig
@@ -18,5 +18,11 @@ config OLPC_BATTERY
        help
          Say Y to enable support for the battery on the $100 laptop.
 
+config PMU_BATTERY
+       tristate "Apple PMU battery"
+       depends on ADB_PMU
+       help
+         This exposes battery information on Apple machines through
+         the generic battery class
 
 endmenu
diff --git a/drivers/battery/Makefile b/drivers/battery/Makefile
index eeb5333..75d9285 100644
--- a/drivers/battery/Makefile
+++ b/drivers/battery/Makefile
@@ -2,3 +2,4 @@ # Battery code
 obj-$(CONFIG_BATTERY_CLASS)		+= battery-class.o
 
 obj-$(CONFIG_OLPC_BATTERY)		+= olpc-battery.o
+obj-$(CONFIG_PMU_BATTERY)		+= pmu-battery.o


More information about the Commits-kernel mailing list