kirkwood: fix pogo_e02 LED name
authorPaul Wassi <p.wassi@gmx.at>
Tue, 25 Oct 2016 14:06:18 +0000 (16:06 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 26 Oct 2016 10:37:46 +0000 (12:37 +0200)
The pogo_e02's dts file has its LEDs named "pogo_e02:(...)"
Fix the status-LED's name for this device.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
target/linux/kirkwood/base-files/etc/diag.sh

index 8d48054..91cb8cf 100755 (executable)
@@ -8,10 +8,12 @@ get_status_led() {
        case $(kirkwood_board_name) in
        dockstar|\
        goflexhome|\
-       goflexnet|\
-       pogo_e02)
+       goflexnet)
                status_led="status:orange:fault"
                ;;
+       pogo_e02)
+               status_led="pogo_e02:orange:fault"
+               ;;
        linksys-audi)
                status_led="audi:green:power"
                ;;