diff options
author | Tim Harvey <tharvey@gateworks.com> | 2016-09-07 08:47:41 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-09-08 13:40:02 +0200 |
commit | 1419087a35c4d078d916833a1cc3fdfd0449d34c (patch) | |
tree | 4855ac2b92815f08b87c9166d87088567753d7c0 | |
parent | 4fd043b95b4f1817b00a431f7c1c0836c39d8559 (diff) | |
download | upstream-1419087a35c4d078d916833a1cc3fdfd0449d34c.tar.gz upstream-1419087a35c4d078d916833a1cc3fdfd0449d34c.tar.bz2 upstream-1419087a35c4d078d916833a1cc3fdfd0449d34c.zip |
cns3xxx: add GW2394 Support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
-rw-r--r-- | target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c index 6c779233e7..667a8e567f 100644 --- a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c +++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c @@ -1030,7 +1030,9 @@ static int __init laguna_model_setup(void) laguna_gpio_leds[3].name = "blue"; laguna_gpio_leds[3].active_low = 0, laguna_gpio_leds_data.num_leds = 4; - } else if (strncmp(laguna_info.model, "GW2384", 6) == 0) { + } else if ( (strncmp(laguna_info.model, "GW2384", 6) == 0) + || (strncmp(laguna_info.model, "GW2394", 6) == 0) ) + { // configure GPIO's laguna_register_gpio(ARRAY_AND_SIZE(laguna_gpio_gw2384)); // configure LED's |