[OpenWrt-Devel] mvebu: fix LED's module

Sebastian Careba nitroshift at yahoo.com
Sun Jan 3 05:46:25 EST 2016


Update OpenWRT build tree to reflect changes in TLC-591xx LED family driver. In kernels < 4.0 the driver was present in form of a patch, and was upstreamed later in kernels > 4.0.

Signed-off-by: Sebastian Careba <nitroshift at yahoo.com>
---
 package/kernel/linux/modules/leds.mk | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index 996deb3..b0e22db 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -199,17 +199,17 @@ endef
 $(eval $(call KernelPackage,leds-pca963x))
 
 
-define KernelPackage/leds-tlc59116
+define KernelPackage/leds-tlc591xx
   SUBMENU:=$(LEDS_MENU)
-  TITLE:=TLC59116 LED support
+  TITLE:=TLC591xx LED support
   DEPENDS:=@TARGET_mvebu +kmod-i2c-core +kmod-regmap
-  KCONFIG:=CONFIG_LEDS_TLC59116
-  FILES:=$(LINUX_DIR)/drivers/leds/leds-tlc59116.ko
-  AUTOLOAD:=$(call AutoLoad,60,leds-tlc59116,1)
+  KCONFIG:=CONFIG_LEDS_TLC591xx
+  FILES:=$(LINUX_DIR)/drivers/leds/leds-tlc591xx.ko
+  AUTOLOAD:=$(call AutoLoad,60,leds-tlc591xx,1)
 endef
 
-define KernelPackage/leds-tlc59116/description
- Kernel module for LEDs on TLC59116
+define KernelPackage/leds-tlc591xx/description
+ Kernel module for LEDs on TLC591xx
 endef
 
-$(eval $(call KernelPackage,leds-tlc59116))
+$(eval $(call KernelPackage,leds-tlc591xx))
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list