mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] don't use mips_machgroup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10328 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user