summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-12 15:10:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-12 15:10:39 +0000
commit31b2c31085b333968fc9e587163141411dd4fb2c (patch)
treeca7713e58786da32c7cfe5825b9ef49523453aae
parente7461706402ec2392d45c15ee95764b31683d694 (diff)
downloadmtk-20170518-31b2c31085b333968fc9e587163141411dd4fb2c.zip
mtk-20170518-31b2c31085b333968fc9e587163141411dd4fb2c.tar.gz
mtk-20170518-31b2c31085b333968fc9e587163141411dd4fb2c.tar.bz2
fix a typo in the dynamic mdio patch
SVN-Revision: 14487
-rw-r--r--target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch b/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch
index fa84e55..9d0584a 100644
--- a/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch
+++ b/target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch
@@ -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;
+ }
+