cns3xxx: add GW2394 Support
authorTim Harvey <tharvey@gateworks.com>
Wed, 7 Sep 2016 15:47:41 +0000 (08:47 -0700)
committerJohn Crispin <john@phrozen.org>
Thu, 8 Sep 2016 11:40:02 +0000 (13:40 +0200)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c

index 6c779233e7fd831858688ead11447147139132d0..667a8e567fee13db23a797f194a5cf73b82fb1ed 100644 (file)
@@ -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