OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 195... | Line 195... | |||
195 | .gpio = WNR612V2_GPIO_LED_WAN_GREEN, |
195 | .gpio = WNR612V2_GPIO_LED_WAN_GREEN, |
|
196 | .active_low = 1, |
196 | .active_low = 1, |
|
197 | } |
197 | } |
|
198 | }; |
198 | }; |
|
Line 199... | Line 199... | |||
199 | |
199 | |
|
200 | static struct gpio_led wnr612v2_wmac_leds_gpio[] = { |
200 | static struct gpio_led wnr612v2_wmac_leds_gpio[] __initdata = { |
|
201 | { |
201 | { |
|
202 | .name = "netgear:green:wlan", |
202 | .name = "netgear:green:wlan", |
|
203 | .gpio = WNR612V2_GPIO_WMAC_LED_WLAN_GREEN, |
203 | .gpio = WNR612V2_GPIO_WMAC_LED_WLAN_GREEN, |
|
204 | .active_low = 1, |
204 | .active_low = 1, |
|
Line 559... | Line 559... | |||
559 | |
559 | |
|
560 | ath79_register_leds_gpio(-1, ARRAY_SIZE(wnr612v2_leds_gpio), |
560 | ath79_register_leds_gpio(-1, ARRAY_SIZE(wnr612v2_leds_gpio), |
|
Line 561... | Line 561... | |||
561 | wnr612v2_leds_gpio); |
561 | wnr612v2_leds_gpio); |
|
562 | |
562 | |
|
Line 563... | Line 563... | |||
563 | ap9x_pci_setup_wmac_leds(0, wnr612v2_wmac_leds_gpio, |
563 | ap9x_pci_setup_wmac_leds(0, wnr612v2_wmac_leds_gpio, |
|
564 | ARRAY_SIZE(wnr612v2_wmac_leds_gpio)); |
564 | ARRAY_SIZE(wnr612v2_leds_gpio)); |
|
565 | |
565 | |
|
566 | ap9x_pci_setup_wmac_btns(0, wnr612v2_wmac_keys_gpio, |
566 | ap9x_pci_setup_wmac_btns(0, wnr612v2_wmac_keys_gpio, |