summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/files/drivers/leds
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-01-30 14:06:59 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-01-30 14:06:59 +0000
commit9bfca5ce18c5d02afc66a1c61fd85288d7af5d9e (patch)
tree5cb4acc76b1f3d66cfe15c69befc854c4931508e /target/linux/adm5120/files/drivers/leds
parentc7e43709f447da2c16340ca51d3e874c1263853b (diff)
downloadmtk-20170518-9bfca5ce18c5d02afc66a1c61fd85288d7af5d9e.zip
mtk-20170518-9bfca5ce18c5d02afc66a1c61fd85288d7af5d9e.tar.gz
mtk-20170518-9bfca5ce18c5d02afc66a1c61fd85288d7af5d9e.tar.bz2
don't use mips_machgroup
SVN-Revision: 10328
Diffstat (limited to 'target/linux/adm5120/files/drivers/leds')
-rw-r--r--target/linux/adm5120/files/drivers/leds/leds-adm5120.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
index 95b90fa..54783ab 100644
--- a/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
+++ b/target/linux/adm5120/files/drivers/leds/leds-adm5120.c
@@ -327,11 +327,6 @@ adm5120_leds_init(void)
struct mach_data *mach;
int i, ret;
- if (mips_machgroup != MACH_GROUP_ADM5120) {
- ret = -EINVAL;
- goto err;
- }
-
mach = adm5120_leds_findmach(mips_machtype);
if (mach == NULL) {
printk(KERN_ERR "leds-adm5120: unsupported board\n");