summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-08 12:23:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-08 12:23:27 +0000
commita51f5cace428613f37eab48674feb0ea0b2e09c1 (patch)
tree7099b8ca5e1af090d787d2e40c3ec77c41a595a9 /target/linux/ar71xx/files/arch
parent9d3f24465f22eadb6cb72c0d4b67d8c63c210f34 (diff)
downloadmtk-20170518-a51f5cace428613f37eab48674feb0ea0b2e09c1.zip
mtk-20170518-a51f5cace428613f37eab48674feb0ea0b2e09c1.tar.gz
mtk-20170518-a51f5cace428613f37eab48674feb0ea0b2e09c1.tar.bz2
ar71xx: use a common naming scheme for LEDS on wnr2000-v4
It is common that the router provider be used rather than product name. One can see this in target/linux/ar71xx/base-files/etc/uci-defaults/01_leds Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> SVN-Revision: 45630
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c
index d8437dc..36896b7 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c
@@ -52,44 +52,44 @@
static struct gpio_led wnr2000v4_leds_gpio[] __initdata = {
{
- .name = "wnr2000-v4:green:power",
+ .name = "netgear:green:power",
.gpio = WNR2000V4_GPIO_LED_PWR_GREEN,
.active_low = 1,
.default_trigger = "default-on",
}, {
- .name = "wnr2000-v4:green:wan",
+ .name = "netgear:green:wan",
.gpio = WNR2000V4_GPIO_LED_WAN_AMBER,
.active_low = 1,
},
{
- .name = "wnr2000-v4:green:wps",
+ .name = "netgear:green:wps",
.gpio = WNR2000V4_GPIO_LED_WPS,
.active_low = 1,
},
{
- .name = "wnr2000-v4:amber:status",
+ .name = "netgear:amber:status",
.gpio = STATUS_LED_GPIO,
.active_low = 1,
},
{
- .name = "wnr2000-v4:blue:wlan",
+ .name = "netgear:blue:wlan",
.gpio = WNR2000V4_GPIO_LED_WLAN,
.active_low = 1,
},
{
- .name = "wnr2000-v4:amber:lan1",
+ .name = "netgear:amber:lan1",
.gpio = WNR2000V4_GPIO_LED_LAN1,
.active_low = 1,
}, {
- .name = "wnr2000-v4:amber:lan2",
+ .name = "netgear:amber:lan2",
.gpio = WNR2000V4_GPIO_LED_LAN2,
.active_low = 1,
}, {
- .name = "wnr2000-v4:amber:lan3",
+ .name = "netgear:amber:lan3",
.gpio = WNR2000V4_GPIO_LED_LAN3,
.active_low = 1,
}, {
- .name = "wnr2000-v4:amber:lan4",
+ .name = "netgear:amber:lan4",
.gpio = WNR2000V4_GPIO_LED_LAN4,
.active_low = 1,
}