diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-01-16 08:44:15 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-01-16 08:44:15 +0000 |
commit | 8a103d5c56e7ef007816bdc2cace883a611bfcb3 (patch) | |
tree | 6cbda1c7e7604a223fc5a5b7efb9ebac216e0022 | |
parent | 8e20e09d1be0f2c37953feb8474462cd821c077a (diff) | |
download | upstream-8a103d5c56e7ef007816bdc2cace883a611bfcb3.tar.gz upstream-8a103d5c56e7ef007816bdc2cace883a611bfcb3.tar.bz2 upstream-8a103d5c56e7ef007816bdc2cace883a611bfcb3.zip |
mvebu: fixups for the new driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43978
-rw-r--r-- | package/kernel/linux/modules/leds.mk | 2 | ||||
-rwxr-xr-x | target/linux/mvebu/base-files/etc/uci-defaults/01_leds | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk index 9c54c78191..217453cd93 100644 --- a/package/kernel/linux/modules/leds.mk +++ b/package/kernel/linux/modules/leds.mk @@ -186,7 +186,7 @@ $(eval $(call KernelPackage,ledtrig-oneshot)) define KernelPackage/leds-tlc59116 SUBMENU:=$(LEDS_MENU) TITLE:=TLC59116 LED support - DEPENDS:=@TARGET_mvebu kmod-i2c-core + DEPENDS:=@TARGET_mvebu +kmod-i2c-core +kmod-regmap KCONFIG:=CONFIG_LEDS_TLC59116 FILES:=$(LINUX_DIR)/drivers/leds/leds-tlc59116.ko AUTOLOAD:=$(call AutoLoad,60,leds-tlc59116,1) diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds index 770bb0acb4..611ee2aab3 100755 --- a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds +++ b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds @@ -10,9 +10,9 @@ board=$(mvebu_board_name) case "$board" in armada-xp-mamba) - ucidef_set_led_netdev "wan" "WAN" "tlc59116:1" "eth1" - ucidef_set_led_usbdev "usb1" "USB1" "tlc59116:5" "1-1" - ucidef_set_led_usbdev "usb2" "USB2" "tlc59116:6" "2-2" + ucidef_set_led_netdev "wan" "WAN" "mamba:white:wan" "eth1" + ucidef_set_led_usbdev "usb2" "USB2" "mamba:white:usb2" "1-1" + ucidef_set_led_usbdev "usb3" "USB3" "mamba:white:usb3_1" "2-2" ;; esac |