X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Farch%2Fmips%2Fath79%2Fmach-tl-wr841n-v8.c;h=0099b15b3abee4022869832950fb0f38bd107bad;hp=064a33fef2af68ce34d953a0ed2200e9e99b49e3;hb=7d739e85b4d3e4ab1be027811780f0723cab4081;hpb=766b301ea3abb89e455fd80f41c4b19d50f6cbc6 diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c index 064a33fef2..0099b15b3a 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c @@ -185,7 +185,7 @@ static void __init tl_wr842n_v2_setup(void) { tl_ap123_setup(); - ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wr841n_v8_leds_gpio) - 1, + ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wr841n_v8_leds_gpio), tl_wr841n_v8_leds_gpio); ath79_register_gpio_keys_polled(1, TL_WR841NV8_KEYS_POLL_INTERVAL,