From 5e6af80dcc9bcc2481cc3a1237f5f7f3519c5620 Mon Sep 17 00:00:00 2001 From: mb Date: Tue, 8 Feb 2011 17:25:02 +0000 Subject: n810: Support modular battery management git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25422 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'package/kernel') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 5398e5efd1..b7deabebcc 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)) -- cgit v1.2.3