summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files/drivers/leds
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-30 14:06:59 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-01-30 14:06:59 +0000
commit59dc59994cc0f7837e5cb8a6982d7cef06e5ce87 (patch)
tree314831be3fc451ec4f0fd3cdcf7deb15d85d531b /target/linux/adm5120/files/drivers/leds
parent5d526120bd7580668a774447d4644164be767b58 (diff)
[adm5120] don't use mips_machgroup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10328 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 95b90fa47..54783abfa 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");