mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 04:25:05 +02: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:
parent
1eeba399c6
commit
e054e9a416
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user