Add package for ledtrigger gpio
authorClaudio Mignanti <c.mignanti@gmail.com>
Sat, 6 Nov 2010 21:05:37 +0000 (21:05 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Sat, 6 Nov 2010 21:05:37 +0000 (21:05 +0000)
SVN-Revision: 23901

package/kernel/modules/other.mk

index b9797547eaf9784f6f9d115e328c4947404b3c0e..22d330a60a4be92709796194874c3eba22351e72 100644 (file)
@@ -508,6 +508,21 @@ endef
 $(eval $(call KernelPackage,leds-wrap))
 
 
+define KernelPackage/ledtrig-gpio
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=LED GPIO Trigger
+  KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO
+  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-gpio.ko
+  AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio)
+endef
+
+define KernelPackage/ledtrig-gpio/description
+ Kernel module that allows LEDs to be controlled by gpio events.
+endef
+
+$(eval $(call KernelPackage,ledtrig-gpio))
+
+
 define KernelPackage/ledtrig-morse
   SUBMENU:=$(OTHER_MENU)
   TITLE:=LED Morse Trigger