mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00: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
SVN-Revision: 12881
This commit is contained in:
parent
19fd45301c
commit
6fdb738d10
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user