fix a typo in the dynamic mdio patch
authorGabor Juhos <juhosg@openwrt.org>
Thu, 12 Feb 2009 15:10:39 +0000 (15:10 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 12 Feb 2009 15:10:39 +0000 (15:10 +0000)
SVN-Revision: 14487

target/linux/ar71xx/patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch

index fa84e55501d2d62f84c34ad8c234a5e1738334c3..9d0584a5917f625f6388c9200197d54c527664f9 100644 (file)
@@ -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;
 +      }
 +