fixup second led, patch from Chris
authorImre Kaloz <kaloz@openwrt.org>
Wed, 1 Jun 2011 07:21:25 +0000 (07:21 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Wed, 1 Jun 2011 07:21:25 +0000 (07:21 +0000)
SVN-Revision: 27077

target/linux/cns3xxx/patches/100-laguna_support.patch

index 73ee42530c5470eee93f0e522e5e839fa6613506..32becc30e9dbadb72df070e70a0e5d4d410e563f 100644 (file)
@@ -1,6 +1,6 @@
 --- /dev/null
 +++ b/arch/arm/mach-cns3xxx/laguna.c
-@@ -0,0 +1,670 @@
+@@ -0,0 +1,671 @@
 +/*
 + * Gateworks Corporation Laguna Platform
 + *
 +                      platform_device_register(&laguna_gpio_leds_device);
 +              } else if (strncmp(laguna_info.model, "GW2380", 6) == 0) {
 +                      laguna_gpio_leds[0].gpio = 107;
-+                      laguna_gpio_leds_data.num_leds = 1;
++                      laguna_gpio_leds[1].gpio = 106;
++                      laguna_gpio_leds_data.num_leds = 2;
 +                      platform_device_register(&laguna_gpio_leds_device);
 +              }
 +      } else {