adm5120: add kmod-leds-gpio and kmod-ledtrig-adm5120-switch to the default packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19001 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
3707e6c11c
commit
eeb604beb9
|
@ -16,6 +16,7 @@ INITRAMFS_EXTRA_FILES:=
|
||||||
include $(INCLUDE_DIR)/target.mk
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
DEFAULT_PACKAGES += admswconfig hostapd-mini kmod-input-core \
|
DEFAULT_PACKAGES += admswconfig hostapd-mini kmod-input-core \
|
||||||
kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug
|
kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug \
|
||||||
|
kmod-leds-gpio kmod-ledtrig-adm5120-switch
|
||||||
|
|
||||||
$(eval $(call BuildTarget))
|
$(eval $(call BuildTarget))
|
||||||
|
|
|
@ -35,6 +35,7 @@ status_led_off() {
|
||||||
set_state() {
|
set_state() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
preinit)
|
preinit)
|
||||||
|
insmod leds-gpio
|
||||||
status_led_set_timer 200 200
|
status_led_set_timer 200 200
|
||||||
;;
|
;;
|
||||||
failsafe)
|
failsafe)
|
||||||
|
|
Loading…
Reference in New Issue