From 08c850f046331ca405b32ea56a10aa0d6d27a419 Mon Sep 17 00:00:00 2001 From: Sungbo Eo Date: Tue, 12 Nov 2019 01:19:03 +0900 Subject: [PATCH] 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 [rephrase commit title and message, backport] Signed-off-by: Adrian Schmutzler (cherry picked from commit 1f455418ef1ea67fda710e1b86a9e021bb4a2413) --- target/linux/ramips/base-files/etc/board.d/01_leds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 83cb88ad5c..fb74a2c87b 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -70,7 +70,7 @@ hiwifi,hc5861b) set_wifi_led "$boardname:green:wlan2g" ;; 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" ;; broadway) -- 2.30.2