summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-09-20 09:20:59 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-09-20 09:20:59 +0200
commite4c138e0286e5ae8fd95f2e7e2dd8cc8c49698ca (patch)
tree1290f603955520a67849be3f8c6ce5d1547e8da2
parentfc2c1660f1d7a0e6ab1424e615b6afd0ce34d25c (diff)
downloadbarebox-e4c138e0286e5ae8fd95f2e7e2dd8cc8c49698ca.tar.gz
barebox-e4c138e0286e5ae8fd95f2e7e2dd8cc8c49698ca.tar.xz
fec_mpc5200: Fix compilation
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/net/fec_mpc5200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mpc5200.c b/drivers/net/fec_mpc5200.c
index f239c68761..8b2cb4d7ff 100644
--- a/drivers/net/fec_mpc5200.c
+++ b/drivers/net/fec_mpc5200.c
@@ -556,7 +556,7 @@ static int mpc5xxx_fec_send(struct eth_device *dev, void *eth_data,
*/
if (fec->xcv_type != SEVENWIRE) {
uint16_t phyStatus;
- fec5xxx_miidev_read(&fec->miidev, 0, 0x1, &phyStatus);
+ phyStatus = fec5xxx_miidev_read(&fec->miidev, 0, 0x1);
}
/*