From af4873e41c127ed87edbd05eb2a7cd00c7c3a3ab Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 29 Nov 2013 20:18:40 +0000 Subject: ar71xx: Kernel support update tl-wr842n_v2 added missing usb led Just a small oversight my part, added the support for the USB led Signed-off-by: Martijn Zilverschoon Signed-off-by: Martijn Zilverschoon Patchwork: http://patchwork.openwrt.org/patch/4425/ Signed-off-by: Gabor Juhos SVN-Revision: 38946 --- target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') 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 064a33f..0099b15 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, -- cgit v1.1