mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: unify LED names on Buffalo boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28702 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -83,15 +83,15 @@ static struct flash_platform_data whrhpg300n_flash_data = {
|
||||
|
||||
static struct gpio_led whrhpg300n_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "whr-hp-g300n:orange:security",
|
||||
.name = "buffalo:orange:security",
|
||||
.gpio = WHRHPG300N_GPIO_LED_SECURITY,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "whr-hp-g300n:red:diag",
|
||||
.name = "buffalo:red:diag",
|
||||
.gpio = WHRHPG300N_GPIO_LED_DIAG,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "whr-hp-g300n:green:router",
|
||||
.name = "buffalo:green:router",
|
||||
.gpio = WHRHPG300N_GPIO_LED_ROUTER,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
@@ -123,7 +123,7 @@ static void add_mtd_concat_notifier(void)
|
||||
|
||||
static struct gpio_led wzrhpag300h_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "wzr-hp-ag300h:red:diag",
|
||||
.name = "buffalo:red:diag",
|
||||
.gpio = 1,
|
||||
.active_low = 1,
|
||||
},
|
||||
|
||||
@@ -122,23 +122,23 @@ static struct platform_device wzrhpg300nh_flash_device = {
|
||||
|
||||
static struct gpio_led wzrhpg300nh_leds_gpio[] __initdata = {
|
||||
{
|
||||
.name = "wzr-hp-g300nh:orange:security",
|
||||
.name = "buffalo:orange:security",
|
||||
.gpio = WZRHPG300NH_GPIO_LED_SECURITY,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "wzr-hp-g300nh:green:wireless",
|
||||
.name = "buffalo:green:wireless",
|
||||
.gpio = WZRHPG300NH_GPIO_LED_WIRELESS,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "wzr-hp-g300nh:green:router",
|
||||
.name = "buffalo:green:router",
|
||||
.gpio = WZRHPG300NH_GPIO_LED_ROUTER,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "wzr-hp-g300nh:red:diag",
|
||||
.name = "buffalo:red:diag",
|
||||
.gpio = WZRHPG300NH_GPIO_LED_DIAG,
|
||||
.active_low = 1,
|
||||
}, {
|
||||
.name = "wzr-hp-g300nh:blue:usb",
|
||||
.name = "buffalo:blue:usb",
|
||||
.gpio = WZRHPG300NH_GPIO_LED_USB,
|
||||
.active_low = 1,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user