mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Add support for european DSL-502t leds (#2880)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10210 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -426,7 +426,7 @@ static void __init detect_leds(void)
|
|||||||
} else if (strstr(prId, "Fritz_Box_")) {
|
} else if (strstr(prId, "Fritz_Box_")) {
|
||||||
ar7_led_data.num_leds = ARRAY_SIZE(fb_sl_leds);
|
ar7_led_data.num_leds = ARRAY_SIZE(fb_sl_leds);
|
||||||
ar7_led_data.leds = fb_sl_leds;
|
ar7_led_data.leds = fb_sl_leds;
|
||||||
} else if (!strcmp(prId, "AR7RD") && usb_prod != NULL && strstr(usb_prod, "DSL-502T")) {
|
} else if ((!strcmp(prId, "AR7RD") || !strcmp(prId, "AR7DB")) && usb_prod != NULL && strstr(usb_prod, "DSL-502T")) {
|
||||||
ar7_led_data.num_leds = ARRAY_SIZE(dsl502t_leds);
|
ar7_led_data.num_leds = ARRAY_SIZE(dsl502t_leds);
|
||||||
ar7_led_data.leds = dsl502t_leds;
|
ar7_led_data.leds = dsl502t_leds;
|
||||||
} else if (strstr(prId, "DG834")) {
|
} else if (strstr(prId, "DG834")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user