ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38099
This commit is contained in:
parent
e33ccdc295
commit
87f7ac6b4e
3 changed files with 9 additions and 5 deletions
|
@ -177,7 +177,7 @@ get_status_led() {
|
|||
status_led="netgear:green:power"
|
||||
;;
|
||||
wnr2000)
|
||||
status_led="wnr2000:green:power"
|
||||
status_led="netgear:green:power"
|
||||
;;
|
||||
wnr2200)
|
||||
status_led="wnr2200:amber:power"
|
||||
|
|
|
@ -50,6 +50,10 @@ wndr3700)
|
|||
migrate_leds "wndr3700:=netgear:"
|
||||
;;
|
||||
|
||||
wnr2000)
|
||||
migrate_leds "wnr2000:=netgear:"
|
||||
;;
|
||||
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -77,19 +77,19 @@ static struct flash_platform_data wnr2000_flash_data = {
|
|||
|
||||
static struct gpio_led wnr2000_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "wnr2000:green:power",
|
||||
.name = "netgear:green:power",
|
||||
.gpio = WNR2000_GPIO_LED_PWR_GREEN,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "wnr2000:amber:power",
|
||||
.name = "netgear:amber:power",
|
||||
.gpio = WNR2000_GPIO_LED_PWR_AMBER,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "wnr2000:green:wps",
|
||||
.name = "netgear:green:wps",
|
||||
.gpio = WNR2000_GPIO_LED_WPS,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "wnr2000:blue:wlan",
|
||||
.name = "netgear:blue:wlan",
|
||||
.gpio = WNR2000_GPIO_LED_WLAN,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue