wireguard-tools: add tunlink option for hostroute
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-wnr2000-v3.c
index 6c18dc6d904c915fb43a0e182b23a0e6215dbb54..76c9cb99c9bb94de216f7239738e9f8d9a76f736 100644 (file)
@@ -197,7 +197,7 @@ static struct gpio_led wnr612v2_leds_gpio[] __initdata = {
        }
 };
 
-static struct gpio_led wnr612v2_wmac_leds_gpio[] __initdata = {
+static struct gpio_led wnr612v2_wmac_leds_gpio[] = {
        {
                .name           = "netgear:green:wlan",
                .gpio           = WNR612V2_GPIO_WMAC_LED_WLAN_GREEN,
@@ -561,7 +561,7 @@ static void __init wnr612v2_setup(void)
                                 wnr612v2_leds_gpio);
 
        ap9x_pci_setup_wmac_leds(0, wnr612v2_wmac_leds_gpio,
-                                ARRAY_SIZE(wnr612v2_leds_gpio));
+                                ARRAY_SIZE(wnr612v2_wmac_leds_gpio));
 
        ap9x_pci_setup_wmac_btns(0, wnr612v2_wmac_keys_gpio,
                                 ARRAY_SIZE(wnr612v2_wmac_keys_gpio),