mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] disable unsupported boards in the LED driver by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9500 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -303,7 +303,7 @@ adm5120_leds_init(void)
|
||||
|
||||
mach = adm5120_leds_findmach(mips_machtype);
|
||||
if (mach == NULL) {
|
||||
/* the board is not yet supported */
|
||||
printk(KERN_ERR "leds-adm5120: unsupported board\n");
|
||||
ret = -EINVAL;
|
||||
goto err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user