summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-24 19:43:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-24 19:43:49 +0000
commit82c7e05d429dc15413dff5549f9db580d0f0509f (patch)
tree0c61905a658dd933149b76ed1cd5dca37bfb2d85
parent25e20b0b57b32fb7a38e1e9a5b319617f3947932 (diff)
downloadmtk-20170518-82c7e05d429dc15413dff5549f9db580d0f0509f.zip
mtk-20170518-82c7e05d429dc15413dff5549f9db580d0f0509f.tar.gz
mtk-20170518-82c7e05d429dc15413dff5549f9db580d0f0509f.tar.bz2
move n810 battery module to omap24 modules.mk
SVN-Revision: 32809
-rw-r--r--package/kernel/modules/other.mk16
-rw-r--r--target/linux/omap24xx/modules.mk17
2 files changed, 17 insertions, 16 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 68b8e3c..badb39b 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -795,22 +795,6 @@ endef
$(eval $(call KernelPackage,rtc-pt7c4338))
-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))
-
define KernelPackage/mtdtests
SUBMENU:=$(OTHER_MENU)
diff --git a/target/linux/omap24xx/modules.mk b/target/linux/omap24xx/modules.mk
index 1664e05..e0a54db 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))