From 5e60f09ad972f3f73e8de5fc468c536345547252 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 24 Jul 2012 19:43:49 +0000 Subject: [omap24x] move n810 battery module to omap24 modules.mk git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32809 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 16 ---------------- target/linux/omap24xx/modules.mk | 17 +++++++++++++++++ 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)) -- cgit v1.2.3