phylib: rename mii_bus::dev to mii_bus::parent
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 1 Oct 2008 15:41:33 +0000 (15:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 23:27:49 +0000 (16:27 -0700)
commit18ee49ddb0d242ed1d0e273038d5e4f6de7379d3
tree8d935cda154204171628cee535f83a992aa66ef9
parent236bb5e649c2a7e8398b87df5e643368408afb4a
phylib: rename mii_bus::dev to mii_bus::parent

In preparation of giving mii_bus objects a device tree presence of
their own, rename struct mii_bus's ->dev argument to ->parent, since
having a 'struct device *dev' that points to our parent device
conflicts with introducing a 'struct device dev' representing our own
device.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Andy Fleming <afleming@freescale.com>
17 files changed:
arch/powerpc/platforms/82xx/ep8248e.c
arch/powerpc/platforms/pasemi/gpio_mdio.c
drivers/net/fec_mpc52xx_phy.c
drivers/net/fs_enet/mii-bitbang.c
drivers/net/fs_enet/mii-fec.c
drivers/net/gianfar_mii.c
drivers/net/macb.c
drivers/net/mv643xx_eth.c
drivers/net/phy/fixed.c
drivers/net/phy/mdio-ofgpio.c
drivers/net/phy/mdio_bus.c
drivers/net/sb1250-mac.c
drivers/net/sh_eth.c
drivers/net/tc35815.c
drivers/net/tg3.c
drivers/net/ucc_geth_mii.c
include/linux/phy.h