mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
[ar71xx] fix a typo in the dynamic mdio patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14487 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d72c973763
commit
d5dae7618f
@ -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;
|
||||
+ }
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user