projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: wndr4300: change 'orange' to 'amber' in LED color names
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
ath79
/
mach-wndr4300.c
diff --git
a/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
b/target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
index 0ecedff115051c8e203917d90f40dad8e98fdf4c..d67b8f85e171f4d4c60eca229d4e1febf03113d3 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
+++ b/
target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
@@
-2,6
+2,7
@@
* NETGEAR WNDR4300 board support
*
* Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org>
* NETGEAR WNDR4300 board support
*
* Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org>
+ * Copyright (C) 2014 Ralph Perlich <rpsoft@arcor.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
@@
-31,13
+32,13
@@
#include "machtypes.h"
#define WNDR4300_GPIO_LED_POWER_GREEN 0
#include "machtypes.h"
#define WNDR4300_GPIO_LED_POWER_GREEN 0
-#define WNDR4300_GPIO_LED_POWER_
ORANGE
2
+#define WNDR4300_GPIO_LED_POWER_
AMBER
2
#define WNDR4300_GPIO_LED_USB 13
#define WNDR4300_GPIO_LED_WAN_GREEN 1
#define WNDR4300_GPIO_LED_USB 13
#define WNDR4300_GPIO_LED_WAN_GREEN 1
-#define WNDR4300_GPIO_LED_WAN_
ORANGE
3
+#define WNDR4300_GPIO_LED_WAN_
AMBER
3
#define WNDR4300_GPIO_LED_WLAN5G 14
#define WNDR4300_GPIO_LED_WPS_GREEN 16
#define WNDR4300_GPIO_LED_WLAN5G 14
#define WNDR4300_GPIO_LED_WPS_GREEN 16
-#define WNDR4300_GPIO_LED_WPS_
ORANGE
17
+#define WNDR4300_GPIO_LED_WPS_
AMBER
17
#define WNDR4300_GPIO_BTN_RESET 21
#define WNDR4300_GPIO_BTN_WIRELESS 15
#define WNDR4300_GPIO_BTN_RESET 21
#define WNDR4300_GPIO_BTN_WIRELESS 15
@@
-53,8
+54,8
@@
static struct gpio_led wndr4300_leds_gpio[] __initdata = {
.active_low = 1,
},
{
.active_low = 1,
},
{
- .name = "netgear:
orange
:power",
- .gpio = WNDR4300_GPIO_LED_POWER_
ORANGE
,
+ .name = "netgear:
amber
:power",
+ .gpio = WNDR4300_GPIO_LED_POWER_
AMBER
,
.active_low = 1,
},
{
.active_low = 1,
},
{
@@
-63,8
+64,8
@@
static struct gpio_led wndr4300_leds_gpio[] __initdata = {
.active_low = 1,
},
{
.active_low = 1,
},
{
- .name = "netgear:
orange
:wan",
- .gpio = WNDR4300_GPIO_LED_WAN_
ORANGE
,
+ .name = "netgear:
amber
:wan",
+ .gpio = WNDR4300_GPIO_LED_WAN_
AMBER
,
.active_low = 1,
},
{
.active_low = 1,
},
{
@@
-78,8
+79,8
@@
static struct gpio_led wndr4300_leds_gpio[] __initdata = {
.active_low = 1,
},
{
.active_low = 1,
},
{
- .name = "netgear:
orange
:wps",
- .gpio = WNDR4300_GPIO_LED_WPS_
ORANGE
,
+ .name = "netgear:
amber
:wps",
+ .gpio = WNDR4300_GPIO_LED_WPS_
AMBER
,
.active_low = 1,
},
{
.active_low = 1,
},
{