ramips: rt305x: rename LEDs on the DIR-300-B1
authorGabor Juhos <juhosg@openwrt.org>
Thu, 28 Jul 2011 10:56:21 +0000 (10:56 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 28 Jul 2011 10:56:21 +0000 (10:56 +0000)
SVN-Revision: 27806

target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c

index 16784603ba50f781cef114647b5507823d1093c9..f0bd63faec6eb821959b6523efc916d8d65403e7 100755 (executable)
@@ -31,7 +31,7 @@ status_led_off() {
 get_status_led() {
        case $(ramips_board_name) in
        dir-300-b1)
-               status_led="dir-300b:green:status"
+               status_led="d-link:green:status"
                ;;
        fonera20n)
                status_led="fonera20n:green:power"
index 5a947e80f74b4214019b139b3c2fac22bf76b6e1..726338908e7e246ea9f417da1c1763f245fa1d79 100644 (file)
@@ -73,15 +73,15 @@ static struct physmap_flash_data dir_300b_flash_data = {
 
 static struct gpio_led dir_300b_leds_gpio[] __initdata = {
        {
-               .name           = "dir-300b:amber:status",
+               .name           = "d-link:amber:status",
                .gpio           = DIR_300B_GPIO_LED_STATUS_AMBER,
                .active_low     = 1,
        }, {
-               .name           = "dir-300b:green:status",
+               .name           = "d-link:green:status",
                .gpio           = DIR_300B_GPIO_LED_STATUS_GREEN,
                .active_low     = 1,
        }, {
-               .name           = "dir-300b:blue:wps",
+               .name           = "d-link:blue:wps",
                .gpio           = DIR_300B_GPIO_LED_WPS,
                .active_low     = 1,
        }