aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-01-16 11:20:03 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-01-16 11:20:03 +0000
commit7ef96948af783382df4705b9db51d716d28c9aeb (patch)
tree0a0797bf11b39a631c12352bc82ecddbc1629638 /target/linux/ar7
parent0a6bf504326ac382348f1006b7e57b086796ebb6 (diff)
downloadupstream-7ef96948af783382df4705b9db51d716d28c9aeb.tar.gz
upstream-7ef96948af783382df4705b9db51d716d28c9aeb.tar.bz2
upstream-7ef96948af783382df4705b9db51d716d28c9aeb.zip
Add support for european DSL-502t leds (#2880)
SVN-Revision: 10210
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/platform.c b/target/linux/ar7/files/arch/mips/ar7/platform.c
index 0668bc273a..d5a9f39455 100644
--- a/target/linux/ar7/files/arch/mips/ar7/platform.c
+++ b/target/linux/ar7/files/arch/mips/ar7/platform.c
@@ -426,7 +426,7 @@ static void __init detect_leds(void)
} else if (strstr(prId, "Fritz_Box_")) {
ar7_led_data.num_leds = ARRAY_SIZE(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.leds = dsl502t_leds;
} else if (strstr(prId, "DG834")) {