1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00

fix a typo in the dynamic mdio patch

SVN-Revision: 14487
This commit is contained in:
Gabor Juhos 2009-02-12 15:10:39 +00:00
parent e746170640
commit 31b2c31085

@ -47,7 +47,7 @@
- snprintf(am->mii_bus.id, MII_BUS_ID_SIZE, "%x", 0);
+ am->mii_bus = mdiobus_alloc();
+ if (am->mii_bus == NULL) {
+ err = -NOMEM;
+ err = -ENOMEM;
+ goto err_iounmap;
+ }
+