diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-01-16 11:20:03 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-01-16 11:20:03 +0000 |
commit | 96f07dff474b2693450113b2b6242a280a0eec6a (patch) | |
tree | bc6ee68592424deec09cbfcdd3ea71153a64a372 /target/linux/ar7 | |
parent | e38764562c8a3e8d444a4c25fb5159c2012d27e8 (diff) | |
download | master-187ad058-96f07dff474b2693450113b2b6242a280a0eec6a.tar.gz master-187ad058-96f07dff474b2693450113b2b6242a280a0eec6a.tar.bz2 master-187ad058-96f07dff474b2693450113b2b6242a280a0eec6a.zip |
Add support for european DSL-502t leds (#2880)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10210 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7')
-rw-r--r-- | target/linux/ar7/files/arch/mips/ar7/platform.c | 2 |
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")) { |