ramips: fix USB LED for Belkin F9K1109v1
Device support for Belkin F9K1109v1 was added using set_usb_led() although this was removed in772b27c207
("ramips: set F5D8235 v1 usb led trigger via devicetree"). Use ucidef_set_led_usbport() instead. Fixes:f2c83532f9
("ramips: add support for Belkin F9K1109v1") Signed-off-by: Sungbo Eo <mans0n@gorani.run> [rephrase commit title and message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
4ebc9dc9c4
commit
1f455418ef
@ -18,7 +18,7 @@ led_wlan="$(get_dt_led wlan)"
|
|||||||
|
|
||||||
case $board in
|
case $board in
|
||||||
belkin,f9k1109v1)
|
belkin,f9k1109v1)
|
||||||
set_usb_led "$boardname:green:usb1"
|
ucidef_set_led_usbport "usb" "USB" "$boardname:green:usb1" "usb1-port1"
|
||||||
ucidef_set_led_netdev "lan" "lan" "$boardname:blue:wps" "eth0"
|
ucidef_set_led_netdev "lan" "lan" "$boardname:blue:wps" "eth0"
|
||||||
;;
|
;;
|
||||||
edimax,br-6475nd)
|
edimax,br-6475nd)
|
||||||
|
Loading…
Reference in New Issue
Block a user