From ad077832bfb03106a02b7be02b560c13e77d0436 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Mon, 23 Feb 2015 11:09:03 +0000 Subject: [PATCH] leds: package the NXP PCA963x driver Signed-off-by: Imre Kaloz SVN-Revision: 44510 --- package/kernel/linux/modules/leds.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index 5a5c76a6d9..3e345e84d4 100644 --- a/package/kernel/linux/modules/leds.mk +++ b/package/kernel/linux/modules/leds.mk @@ -183,6 +183,22 @@ endef $(eval $(call KernelPackage,ledtrig-oneshot)) +define KernelPackage/leds-pca963x + SUBMENU:=$(LEDS_MENU) + TITLE:=PCA963x LED support + DEPENDS:=+kmod-i2c-core + KCONFIG:=CONFIG_LEDS_PCA963X + FILES:=$(LINUX_DIR)/drivers/leds/leds-pca963x.ko + AUTOLOAD:=$(call AutoLoad,60,leds-pca963x,1) +endef + +define KernelPackage/leds-pca963x/description + Driver for the NXP PCA963x I2C LED controllers. +endef + +$(eval $(call KernelPackage,leds-pca963x)) + + define KernelPackage/leds-tlc59116 SUBMENU:=$(LEDS_MENU) TITLE:=TLC59116 LED support