]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
phylib: give mdio buses a device tree presence
authorLennert Buytenhek <buytenh@marvell.com>
Wed, 8 Oct 2008 23:33:40 +0000 (16:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 23:33:40 +0000 (16:33 -0700)
commit46abc02175b3c246dd5141d878f565a8725060c9
treea777a25a6613b1187244c3bd5a22e451028fccbe
parent298cf9beb9679522de995e249eccbd82f7c51999
phylib: give mdio buses a device tree presence

Introduce the mdio_bus class, and give each 'struct mii_bus' its own
'struct device', so that mii_bus objects are represented in the device
tree and can be found by querying the device tree.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
include/linux/phy.h