diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2012-10-22 16:40:46 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-01-28 06:57:51 +0100 |
commit | fe428b909b83f0ef83d1fbc7a446bfb60bc4fe01 (patch) | |
tree | a401454ee8a0caeb85dc5b4221a78cdf4324a8c6 /drivers/net/fec_mxc.h | |
parent | 4dc27eed5230c485ef8016ccea6ea0abbd937d98 (diff) | |
download | u-boot-fe428b909b83f0ef83d1fbc7a446bfb60bc4fe01.tar.gz u-boot-fe428b909b83f0ef83d1fbc7a446bfb60bc4fe01.tar.bz2 u-boot-fe428b909b83f0ef83d1fbc7a446bfb60bc4fe01.zip |
net: fec_mxc: get phydev before fec_probe
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'drivers/net/fec_mxc.h')
-rw-r--r-- | drivers/net/fec_mxc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 203285af9a..b8f0da36cd 100644 --- a/drivers/net/fec_mxc.h +++ b/drivers/net/fec_mxc.h @@ -271,11 +271,11 @@ struct fec_priv { bd_t *bd; uint8_t *tdb_ptr; int dev_id; - int phy_id; struct mii_dev *bus; #ifdef CONFIG_PHYLIB struct phy_device *phydev; #else + int phy_id; int (*mii_postcall)(int); #endif }; |