1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-06 00:18:33 +03:00

[cns3xxx]: fixup second led, patch from Chris

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27077 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz 2011-06-01 07:21:25 +00:00
parent 1eeba399c6
commit e054e9a416

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 {