summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/atheros/files/arch/mips/atheros/ar5315/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c b/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c
index 0ac7d0036..fad5783c5 100644
--- a/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c
+++ b/target/linux/atheros/files/arch/mips/atheros/ar5315/board.c
@@ -236,7 +236,7 @@ int __init ar5315_init_devices(void)
#ifdef CONFIG_LEDS_GPIO
ar5315_led_data.num_leds = 0;
- for(i = 0; i < 8; i++)
+ for(i = 1; i < 8; i++)
{
if((i != AR5315_RESET_GPIO) && (i != bcfg->resetConfigGpio))
{