aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-11-29 20:18:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-11-29 20:18:40 +0000
commitbe3b2a6377aca3ee718f930be3ccbc7fcdb7ea86 (patch)
tree5f26706cd1ea38773943c42b3354663ce253c7b7 /target
parent0fdebf9347b15a6e24f2ea0afa1eeb4067bec4de (diff)
downloadupstream-be3b2a6377aca3ee718f930be3ccbc7fcdb7ea86.tar.gz
upstream-be3b2a6377aca3ee718f930be3ccbc7fcdb7ea86.tar.bz2
upstream-be3b2a6377aca3ee718f930be3ccbc7fcdb7ea86.zip
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 <thefriedzombie@gmail.com> Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4425/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38946 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c2
1 files changed, 1 insertions, 1 deletions
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,