aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-11-12 01:19:03 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-20 15:54:33 +0100
commit1f455418ef1ea67fda710e1b86a9e021bb4a2413 (patch)
tree91cb774233d864df8886d1d30cd12d6b3d64e048 /target/linux/ramips
parent4ebc9dc9c4faf8d9abc4197a74b892a66d9c1bcb (diff)
downloadupstream-1f455418ef1ea67fda710e1b86a9e021bb4a2413.tar.gz
upstream-1f455418ef1ea67fda710e1b86a9e021bb4a2413.tar.bz2
upstream-1f455418ef1ea67fda710e1b86a9e021bb4a2413.zip
ramips: fix USB LED for Belkin F9K1109v1
Device support for Belkin F9K1109v1 was added using set_usb_led() although this was removed in 772b27c20736 ("ramips: set F5D8235 v1 usb led trigger via devicetree"). Use ucidef_set_led_usbport() instead. Fixes: f2c83532f92c ("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>
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/rt3883/base-files/etc/board.d/01_leds2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/rt3883/base-files/etc/board.d/01_leds b/target/linux/ramips/rt3883/base-files/etc/board.d/01_leds
index 8502c8f417..e7c2cad3d2 100755
--- a/target/linux/ramips/rt3883/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/rt3883/base-files/etc/board.d/01_leds
@@ -18,7 +18,7 @@ led_wlan="$(get_dt_led wlan)"
case $board in
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"
;;
edimax,br-6475nd)