summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-08 17:25:02 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-08 17:25:02 +0000
commit5e6af80dcc9bcc2481cc3a1237f5f7f3519c5620 (patch)
treef6469cc2bc7ba50e6173227ada8ad622e8b533bf /package
parentfe0e10c689f0966ce18d7e56e7104cd875e539d3 (diff)
n810: Support modular battery management
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25422 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/other.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 5398e5efd..b7deabebc 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -861,3 +861,20 @@ define KernelPackage/rtc-pcf8563/description
endef
$(eval $(call KernelPackage,rtc-pcf8563))
+
+
+define KernelPackage/n810bm
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Nokia N810 battery management driver
+ DEPENDS:=@TARGET_omap24xx
+ KCONFIG:=CONFIG_N810BM
+ FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,01,n810bm)
+endef
+
+define KernelPackage/n810bm/description
+ Nokia N810 battery management driver.
+ Controls battery power management and battery charging.
+endef
+
+$(eval $(call KernelPackage,n810bm))