1 --- a/arch/mips/ar7/platform.c
2 +++ b/arch/mips/ar7/platform.c
3 @@ -465,31 +465,22 @@ static struct gpio_led fb_fon_leds[] = {
7 -static struct gpio_led gt701_leds[] = {
8 +static struct gpio_led actiontec_leds[] = {
25 - .name = "power:red",
26 + .name = "power:green",
31 - .name = "power:green",
32 + .name = "power:red",
35 .default_trigger = "default-on",
38 @@ -497,6 +488,44 @@ static struct gpio_led gt701_leds[] = {
82 static struct gpio_led_platform_data ar7_led_data;
83 @@ -540,9 +569,9 @@ static void __init detect_leds(void)
84 } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) {
85 ar7_led_data.num_leds = ARRAY_SIZE(titan_leds);
86 ar7_led_data.leds = titan_leds;
87 - } else if (strstr(prid, "GT701")) {
88 - ar7_led_data.num_leds = ARRAY_SIZE(gt701_leds);
89 - ar7_led_data.leds = gt701_leds;
90 + } else if (strstr(prid, "GT7") || strstr(prid, "PK5000")) {
91 + ar7_led_data.num_leds = ARRAY_SIZE(actiontec_leds);
92 + ar7_led_data.leds = actiontec_leds;