aboutsummaryrefslogtreecommitdiffstats
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
commit6ccd54a9abe60395bd58ccde20c0f2e37d76856a (patch)
tree857899bf34e6c2efe32be26a15b988914a14f3da
parent5092abf8e56b59aeb9bd49199b898409b7729736 (diff)
downloadupstream-6ccd54a9abe60395bd58ccde20c0f2e37d76856a.tar.gz
upstream-6ccd54a9abe60395bd58ccde20c0f2e37d76856a.tar.bz2
upstream-6ccd54a9abe60395bd58ccde20c0f2e37d76856a.zip
[omap24x] move n810 battery module to omap24 modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32809 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 68b8e3c881..badb39bc46 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 1664e05c89..e0a54db444 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))