From b874e11405aad2fea28fb5551fad8ab286da1d1f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 Oct 2008 00:15:07 +0000 Subject: [PATCH 1/1] don't register GPIO 0 as LED. it drives the chip select line of the SPI flash on most AR2317 boards. fixes strange jffs2 errors on bootup SVN-Revision: 12881 --- target/linux/atheros/files/arch/mips/atheros/ar5315/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0ac7d00368..fad5783c55 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)) { -- 2.30.2