[ar7] titan board also have CYWL as a product id

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21690 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2010-06-06 19:16:49 +00:00
parent efe0f8bd76
commit ce097a54e0
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@
} else if (strstr(prid, "DG834")) { } else if (strstr(prid, "DG834")) {
ar7_led_data.num_leds = ARRAY_SIZE(dg834g_leds); ar7_led_data.num_leds = ARRAY_SIZE(dg834g_leds);
ar7_led_data.leds = dg834g_leds; ar7_led_data.leds = dg834g_leds;
+ } else if (strstr(prid, "CYWM")) { + } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) {
+ ar7_led_data.num_leds = ARRAY_SIZE(titan_leds); + ar7_led_data.num_leds = ARRAY_SIZE(titan_leds);
+ ar7_led_data.leds = titan_leds; + ar7_led_data.leds = titan_leds;
} }