package the TLC59116 led driver
authorImre Kaloz <kaloz@openwrt.org>
Tue, 17 Jun 2014 15:15:05 +0000 (15:15 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Tue, 17 Jun 2014 15:15:05 +0000 (15:15 +0000)
SVN-Revision: 41235

package/kernel/linux/modules/leds.mk

index 84ef298dbacb7a83d0434f0392f0bc44d56f59ee..24a03ddf032f23e33253d8216198aa6685d125e2 100644 (file)
@@ -166,3 +166,19 @@ define KernelPackage/ledtrig-oneshot/description
 endef
 
 $(eval $(call KernelPackage,ledtrig-oneshot))
+
+
+define KernelPackage/leds-tlc59116
+  SUBMENU:=$(LEDS_MENU)
+  TITLE:=TLC59116 LED support
+  DEPENDS:=@TARGET_mvebu kmod-i2c-core
+  KCONFIG:=CONFIG_LEDS_TLC59116
+  FILES:=$(LINUX_DIR)/drivers/leds/leds-tlc59116.ko
+  AUTOLOAD:=$(call AutoLoad,60,leds-tlc59116,1)
+endef
+
+define KernelPackage/leds-tlc59116/description
+ Kernel module for LEDs on TLC59116
+endef
+
+$(eval $(call KernelPackage,leds-tlc59116))