From: Florian Fainelli Date: Tue, 24 Jul 2012 19:43:49 +0000 (+0000) Subject: move n810 battery module to omap24 modules.mk X-Git-Tag: reboot~13322 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82c7e05d429dc15413dff5549f9db580d0f0509f;p=oweals%2Fopenwrt.git move n810 battery module to omap24 modules.mk SVN-Revision: 32809 --- 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))