mvebu: fixups for the new driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43978
This commit is contained in:
parent
8e20e09d1b
commit
8a103d5c56
@ -186,7 +186,7 @@ $(eval $(call KernelPackage,ledtrig-oneshot))
|
|||||||
define KernelPackage/leds-tlc59116
|
define KernelPackage/leds-tlc59116
|
||||||
SUBMENU:=$(LEDS_MENU)
|
SUBMENU:=$(LEDS_MENU)
|
||||||
TITLE:=TLC59116 LED support
|
TITLE:=TLC59116 LED support
|
||||||
DEPENDS:=@TARGET_mvebu kmod-i2c-core
|
DEPENDS:=@TARGET_mvebu +kmod-i2c-core +kmod-regmap
|
||||||
KCONFIG:=CONFIG_LEDS_TLC59116
|
KCONFIG:=CONFIG_LEDS_TLC59116
|
||||||
FILES:=$(LINUX_DIR)/drivers/leds/leds-tlc59116.ko
|
FILES:=$(LINUX_DIR)/drivers/leds/leds-tlc59116.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,60,leds-tlc59116,1)
|
AUTOLOAD:=$(call AutoLoad,60,leds-tlc59116,1)
|
||||||
|
@ -10,9 +10,9 @@ board=$(mvebu_board_name)
|
|||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
armada-xp-mamba)
|
armada-xp-mamba)
|
||||||
ucidef_set_led_netdev "wan" "WAN" "tlc59116:1" "eth1"
|
ucidef_set_led_netdev "wan" "WAN" "mamba:white:wan" "eth1"
|
||||||
ucidef_set_led_usbdev "usb1" "USB1" "tlc59116:5" "1-1"
|
ucidef_set_led_usbdev "usb2" "USB2" "mamba:white:usb2" "1-1"
|
||||||
ucidef_set_led_usbdev "usb2" "USB2" "tlc59116:6" "2-2"
|
ucidef_set_led_usbdev "usb3" "USB3" "mamba:white:usb3_1" "2-2"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user