don't register GPIO 0 as LED. it drives the chip select line of the SPI flash on...
authorFelix Fietkau <nbd@openwrt.org>
Tue, 7 Oct 2008 00:15:07 +0000 (00:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 7 Oct 2008 00:15:07 +0000 (00:15 +0000)
SVN-Revision: 12881

target/linux/atheros/files/arch/mips/atheros/ar5315/board.c

index 0ac7d0036872f3c6ee1825fcd972a6f21cf2bda7..fad5783c55d15a2cdb2ea183cabbbc040b4c7272 100644 (file)
@@ -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))
                {