aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-07 00:15:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-07 00:15:07 +0000
commit1417291bae7859328046644081d565f38f3b7829 (patch)
tree58857da640dc243c3fe9ed6a85d02842361550f3 /target/linux/atheros
parent54ad7836bd81f6a2cab2026a66a2fb97c7a5fefb (diff)
downloadupstream-1417291bae7859328046644081d565f38f3b7829.tar.gz
upstream-1417291bae7859328046644081d565f38f3b7829.tar.bz2
upstream-1417291bae7859328046644081d565f38f3b7829.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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12881 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros')
-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 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))
{