mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
Add ledtrig-oneshot module for 3.6 kernels
This patch adds a package for the ledtrig-oneshot module, available in 3.6 and later. [juhosg: change dependency from LINUX_3_6 to !LINUX_3_3] Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34079 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0379541133
commit
1fd96a6463
@ -150,3 +150,20 @@ define KernelPackage/ledtrig-timer/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,ledtrig-timer))
|
$(eval $(call KernelPackage,ledtrig-timer))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/ledtrig-oneshot
|
||||||
|
SUBMENU:=$(LEDS_MENU)
|
||||||
|
TITLE:=LED One-Shot Trigger
|
||||||
|
DEPENDS:=@!LINUX_3_3
|
||||||
|
KCONFIG:=CONFIG_LEDS_TRIGGER_ONESHOT
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-oneshot.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,50,ledtrig-oneshot)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/ledtrig-oneshot/description
|
||||||
|
Kernel module that allows LEDs to be triggered by sporadic events in
|
||||||
|
one-shot pulses.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,ledtrig-oneshot))
|
||||||
|
Loading…
Reference in New Issue
Block a user