]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
net/tc35815.c: fix compilation
authorAdrian Bunk <bunk@kernel.org>
Mon, 13 Oct 2008 04:01:53 +0000 (21:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Oct 2008 04:01:53 +0000 (21:01 -0700)
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>
drivers/net/tc35815.c

index 4980b12b62198e80911ca16c52153870be1c4a1a..df20cafff7dd3a5da1926740e5cb14193f5b81f9 100644 (file)
@@ -796,7 +796,7 @@ err_out_unregister_bus:
        mdiobus_unregister(lp->mii_bus);
 err_out_free_mdio_irq:
        kfree(lp->mii_bus->irq);
-err_out_free_mii_bus;
+err_out_free_mii_bus:
        mdiobus_free(lp->mii_bus);
 err_out:
        return err;