summaryrefslogtreecommitdiff
path: root/drivers/net/xilinx_axi_emac.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-12-09 07:10:39 -0500
committerTom Rini <trini@konsulko.com>2016-12-09 07:10:39 -0500
commit3edc0c252257e4afed163a3a74aba24a5509b198 (patch)
treede01174e841e19844a158569113c559993764248 /drivers/net/xilinx_axi_emac.c
parentbb135a0180c31fbd7456021fb9700b49bba7f533 (diff)
parentb63cb3abbc626dc918828f302bd8ea72e7c226d2 (diff)
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
Diffstat (limited to 'drivers/net/xilinx_axi_emac.c')
-rw-r--r--drivers/net/xilinx_axi_emac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c
index 5de06ef01e..51c7426663 100644
--- a/drivers/net/xilinx_axi_emac.c
+++ b/drivers/net/xilinx_axi_emac.c
@@ -648,9 +648,8 @@ static int axi_emac_probe(struct udevice *dev)
priv->bus->read = axiemac_miiphy_read;
priv->bus->write = axiemac_miiphy_write;
priv->bus->priv = priv;
- strcpy(priv->bus->name, "axi_emac");
- ret = mdio_register(priv->bus);
+ ret = mdio_register_seq(priv->bus, dev->seq);
if (ret)
return ret;