summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-12 15:10:39 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-02-12 15:10:39 +0000
commitd5dae7618fb6b29268f88208c73e984689454c6f (patch)
treeffd786e7eb8b06c13fe42ab338bc246782d0b23f /target/linux
parentd72c973763a344ea3ba50b7e151716409ed095a3 (diff)
[ar71xx] fix a typo in the dynamic mdio patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14487 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 fa84e5550..9d0584a59 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;
+ }
+