diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-07 00:15:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-07 00:15:07 +0000 |
commit | 6fdb738d107896196a7f5f424c43700e9fc63526 (patch) | |
tree | 8f3f5f98e413d1159978b78bfb1546bc8f37b898 /target/linux/atheros/files | |
parent | 19fd45301c86ad02ef7cd15f148ca3d1008048af (diff) | |
download | upstream-6fdb738d107896196a7f5f424c43700e9fc63526.tar.gz upstream-6fdb738d107896196a7f5f424c43700e9fc63526.tar.bz2 upstream-6fdb738d107896196a7f5f424c43700e9fc63526.zip |
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
Diffstat (limited to 'target/linux/atheros/files')
-rw-r--r-- | target/linux/atheros/files/arch/mips/atheros/ar5315/board.c | 2 |
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 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)) { |