fixup second led, patch from Chris

SVN-Revision: 27077
lede-17.01
Imre Kaloz 2011-06-01 07:21:25 +00:00
parent 86dbc3a02d
commit aafa838d77
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
--- /dev/null --- /dev/null
+++ b/arch/arm/mach-cns3xxx/laguna.c +++ b/arch/arm/mach-cns3xxx/laguna.c
@@ -0,0 +1,670 @@ @@ -0,0 +1,671 @@
+/* +/*
+ * Gateworks Corporation Laguna Platform + * Gateworks Corporation Laguna Platform
+ * + *
@ -653,7 +653,8 @@
+ platform_device_register(&laguna_gpio_leds_device); + platform_device_register(&laguna_gpio_leds_device);
+ } else if (strncmp(laguna_info.model, "GW2380", 6) == 0) { + } else if (strncmp(laguna_info.model, "GW2380", 6) == 0) {
+ laguna_gpio_leds[0].gpio = 107; + 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); + platform_device_register(&laguna_gpio_leds_device);
+ } + }
+ } else { + } else {