summaryrefslogtreecommitdiff
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2011-02-08 17:25:02 +0000
committerMichael Büsch <mb@bu3sch.de>2011-02-08 17:25:02 +0000
commit600a142de6c9b293318f55e88973c7a3a47cfc28 (patch)
treea2286a2298359cc03121d5f246b47c5dc22c2d5e /package/kernel/modules/other.mk
parente69e0dd0b209ffa8a72c52d5a36ed05fcc7831c2 (diff)
downloadmtk-20170518-600a142de6c9b293318f55e88973c7a3a47cfc28.zip
mtk-20170518-600a142de6c9b293318f55e88973c7a3a47cfc28.tar.gz
mtk-20170518-600a142de6c9b293318f55e88973c7a3a47cfc28.tar.bz2
n810: Support modular battery management
SVN-Revision: 25422
Diffstat (limited to 'package/kernel/modules/other.mk')
-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 5398e5e..b7deabe 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))