net: Rework mdio-ofgpio driver to use of_mdio infrastructure
authorMark Ware <mware@elphinstone.net>
Thu, 23 Jul 2009 17:56:48 +0000 (10:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2009 17:56:48 +0000 (10:56 -0700)
commitdacac4da5290ee3f3f413bd6980af2befb813e28
treeb50c3ad8064689d01709f25d86932d968395b491
parent78a9c9c97455d0f8d2d2098b2252eb4bf65be799
net: Rework mdio-ofgpio driver to use of_mdio infrastructure

Changes to the fs_enet driver aa73832c5a80d6c52c69b18af858d88fa595dd3c
("net: Rework fs_enet driver to use of_mdio infrastructure")
cause kernel crashes when using the mdio-ofgpio driver.

This patch replicates similar changes made to the fs_enet mii-bitbang
drivers.  It has been tested on a custom mpc8280 based board using an
NFS mounted root.

Signed-off-by: Mark Ware <mware@elphinstone.net>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c