phylib: move to dynamic allocation of struct mii_bus
authorLennert Buytenhek <buytenh@marvell.com>
Wed, 8 Oct 2008 23:29:57 +0000 (16:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 23:29:57 +0000 (16:29 -0700)
This patch introduces mdiobus_alloc() and mdiobus_free(), and
makes all mdio bus drivers use these functions to allocate their
struct mii_bus'es dynamically.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Andy Fleming <afleming@freescale.com>

No differences found