From 31b2c31085b333968fc9e587163141411dd4fb2c Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Thu, 12 Feb 2009 15:10:39 +0000 Subject: [PATCH] fix a typo in the dynamic mdio patch SVN-Revision: 14487 --- .../patches-2.6.28/802-ag71xx_mdio_dynamic_mdio_bus.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fa84e55501d2..9d0584a5917f 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; + } + -- 2.30.2