mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: unify LED names on TP-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28701 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -73,15 +73,15 @@ static struct flash_platform_data tl_mr3x20_flash_data = {
|
||||
|
||||
static struct gpio_led tl_mr3x20_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-mr3x20:green:system",
|
||||
.name = "tp-link:green:system",
|
||||
.gpio = TL_MR3X20_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-mr3x20:green:qss",
|
||||
.name = "tp-link:green:qss",
|
||||
.gpio = TL_MR3X20_GPIO_LED_QSS,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-mr3x20:green:3g",
|
||||
.name = "tp-link:green:3g",
|
||||
.gpio = TL_MR3X20_GPIO_LED_3G,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
@@ -70,14 +70,14 @@ static struct flash_platform_data tl_wa901nd_v2_flash_data = {
|
||||
|
||||
static struct gpio_led tl_wa901nd_v2_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-wa901nd-v2:green:system",
|
||||
.name = "tp-link:green:system",
|
||||
.gpio = TL_WA901ND_V2_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-wa901nd-v2:green:qss",
|
||||
.name = "tp-link:green:qss",
|
||||
.gpio = TL_WA901ND_V2_GPIO_LED_QSS,
|
||||
}, {
|
||||
.name = "tl-wa901nd-v2:green:wlan",
|
||||
.name = "tp-link:green:wlan",
|
||||
.gpio = TL_WA901ND_V2_GPIO_LED_WLAN,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
@@ -67,11 +67,11 @@ static struct flash_platform_data tl_wa901nd_flash_data = {
|
||||
|
||||
static struct gpio_led tl_wa901nd_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-wa901nd:green:system",
|
||||
.name = "tp-link:green:system",
|
||||
.gpio = TL_WA901ND_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-wa901nd:green:qss",
|
||||
.name = "tp-link:green:qss",
|
||||
.gpio = TL_WA901ND_GPIO_LED_QSS,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
@@ -73,19 +73,19 @@ static struct flash_platform_data tl_wr1043nd_flash_data = {
|
||||
|
||||
static struct gpio_led tl_wr1043nd_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-wr1043nd:green:usb",
|
||||
.name = "tp-link:green:usb",
|
||||
.gpio = TL_WR1043ND_GPIO_LED_USB,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-wr1043nd:green:system",
|
||||
.name = "tp-link:green:system",
|
||||
.gpio = TL_WR1043ND_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-wr1043nd:green:qss",
|
||||
.name = "tp-link:green:qss",
|
||||
.gpio = TL_WR1043ND_GPIO_LED_QSS,
|
||||
.active_low = 0,
|
||||
}, {
|
||||
.name = "tl-wr1043nd:green:wlan",
|
||||
.name = "tp-link:green:wlan",
|
||||
.gpio = TL_WR1043ND_GPIO_LED_WLAN,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ static struct flash_platform_data tl_wr703n_flash_data = {
|
||||
|
||||
static struct gpio_led tl_wr703n_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-wr703n:blue:system",
|
||||
.name = "tp-link:blue:system",
|
||||
.gpio = TL_WR703N_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
},
|
||||
|
||||
@@ -66,11 +66,11 @@ static struct flash_platform_data tl_wr741nd_flash_data = {
|
||||
|
||||
static struct gpio_led tl_wr741nd_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-wr741nd:green:system",
|
||||
.name = "tp-link:green:system",
|
||||
.gpio = TL_WR741ND_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-wr741nd:green:qss",
|
||||
.name = "tp-link:green:qss",
|
||||
.gpio = TL_WR741ND_GPIO_LED_QSS,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
@@ -69,14 +69,14 @@ static struct flash_platform_data tl_wr841n_v1_flash_data = {
|
||||
|
||||
static struct gpio_led tl_wr841n_v1_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-wr841n:green:system",
|
||||
.name = "tp-link:green:system",
|
||||
.gpio = TL_WR841ND_V1_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-wr841n:red:qss",
|
||||
.name = "tp-link:red:qss",
|
||||
.gpio = TL_WR841ND_V1_GPIO_LED_QSS_RED,
|
||||
}, {
|
||||
.name = "tl-wr841n:green:qss",
|
||||
.name = "tp-link:green:qss",
|
||||
.gpio = TL_WR841ND_V1_GPIO_LED_QSS_GREEN,
|
||||
}
|
||||
};
|
||||
|
||||
@@ -69,17 +69,17 @@ static struct flash_platform_data tl_wr941nd_flash_data = {
|
||||
|
||||
static struct gpio_led tl_wr941nd_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "tl-wr941nd:green:system",
|
||||
.name = "tp-link:green:system",
|
||||
.gpio = TL_WR941ND_GPIO_LED_SYSTEM,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "tl-wr941nd:red:qss",
|
||||
.name = "tp-link:red:qss",
|
||||
.gpio = TL_WR941ND_GPIO_LED_QSS_RED,
|
||||
}, {
|
||||
.name = "tl-wr941nd:green:qss",
|
||||
.name = "tp-link:green:qss",
|
||||
.gpio = TL_WR941ND_GPIO_LED_QSS_GREEN,
|
||||
}, {
|
||||
.name = "tl-wr941nd:green:wlan",
|
||||
.name = "tp-link:green:wlan",
|
||||
.gpio = TL_WR941ND_GPIO_LED_WLAN,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user