summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-24 19:43:49 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-24 19:43:49 +0000
commit5e60f09ad972f3f73e8de5fc468c536345547252 (patch)
tree857899bf34e6c2efe32be26a15b988914a14f3da /target/linux
parent6852680f2dcc4db4ff8b1f35f8398da9d3ae4d09 (diff)
[omap24x] move n810 battery module to omap24 modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32809 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/omap24xx/modules.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/omap24xx/modules.mk b/target/linux/omap24xx/modules.mk
index 1664e05c8..e0a54db44 100644
--- a/target/linux/omap24xx/modules.mk
+++ b/target/linux/omap24xx/modules.mk
@@ -44,3 +44,20 @@ define KernelPackage/sound-soc-n810
endef
$(eval $(call KernelPackage,sound-soc-n810))
+
+
+define KernelPackage/n810bm
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Nokia N810 battery management driver
+ DEPENDS:=@TARGET_omap24xx
+ KCONFIG:=CONFIG_N810BM
+ FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
+ 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))