aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-13 00:01:53 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-13 00:01:53 -0400
commit51cf756c0a056dfb3d7ccdddff3b055cbf44a31c (patch)
tree19e03c1fa9335a21d7ea5d341440066a07af0161
parent9d731d77c9794bb0a264f58d35949a1ab6dcc41c (diff)
net/tc35815.c: fix compilation
Fix an obvious typo introduced by commit 298cf9beb9679522de995e249eccbd82f7c51999 (phylib: move to dynamic allocation of struct mii_bus). <-- snip --> ... CC drivers/net/tc35815.o drivers/net/tc35815.c: In function 'tc_mii_init': drivers/net/tc35815.c:799: error: 'err_out_free_mii_bus' undeclared (first use in this function) drivers/net/tc35815.c:799: error: (Each undeclared identifier is reported only once drivers/net/tc35815.c:799: error: for each function it appears in.) drivers/net/tc35815.c:781: error: label 'err_out_free_mii_bus' used but not defined make[3]: *** [drivers/net/tc35815.o] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/tc35815.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c
index 4980b12b6219..df20cafff7dd 100644
--- a/drivers/net/tc35815.c
+++ b/drivers/net/tc35815.c
@@ -796,7 +796,7 @@ err_out_unregister_bus:
796 mdiobus_unregister(lp->mii_bus); 796 mdiobus_unregister(lp->mii_bus);
797err_out_free_mdio_irq: 797err_out_free_mdio_irq:
798 kfree(lp->mii_bus->irq); 798 kfree(lp->mii_bus->irq);
799err_out_free_mii_bus; 799err_out_free_mii_bus:
800 mdiobus_free(lp->mii_bus); 800 mdiobus_free(lp->mii_bus);
801err_out: 801err_out:
802 return err; 802 return err;