1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 22:35:11 +02:00

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
This commit is contained in:
nbd 2008-10-07 00:15:07 +00:00
parent 7e6b7122f6
commit dc1f0c32c7

View File

@ -236,7 +236,7 @@ int __init ar5315_init_devices(void)
#ifdef CONFIG_LEDS_GPIO #ifdef CONFIG_LEDS_GPIO
ar5315_led_data.num_leds = 0; 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)) if((i != AR5315_RESET_GPIO) && (i != bcfg->resetConfigGpio))
{ {