aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-06-17 15:15:05 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-06-17 15:15:05 +0000
commitdfb41660c78c9148b7d4f3b888a56a41c3d760cb (patch)
treec59d91a88514d09cfe86057b319900ffe1658bf1 /package/kernel
parent520be62713bf32d4faba19006902fcb5ba419233 (diff)
downloadupstream-dfb41660c78c9148b7d4f3b888a56a41c3d760cb.tar.gz
upstream-dfb41660c78c9148b7d4f3b888a56a41c3d760cb.tar.bz2
upstream-dfb41660c78c9148b7d4f3b888a56a41c3d760cb.zip
[kernel]: package the TLC59116 led driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41235 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/leds.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index 84ef298dba..24a03ddf03 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -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))