diff options
author | Romain Perier <romain.perier@gmail.com> | 2014-08-26 13:14:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-27 16:40:26 -0700 |
commit | 93e91b3dda17be19ecf52de2400a02c6469decfa (patch) | |
tree | c74ffabc1c714cf8d3094ba35572586a72ed8196 /drivers/net/ethernet/arc/emac_main.c | |
parent | f15f44e0839793ea03ffef5bae532cd63d92948c (diff) | |
download | linux-93e91b3dda17be19ecf52de2400a02c6469decfa.tar.gz linux-93e91b3dda17be19ecf52de2400a02c6469decfa.tar.bz2 linux-93e91b3dda17be19ecf52de2400a02c6469decfa.zip |
ethernet: arc: mdio changes for future SoC glue layer devtree support
This is an api changes for the emac_mdio.c module.
It will be required later when arc_emac_probe/arc_emac_remove
will no longer use 'struct platform_device'.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/arc/emac_main.c')
-rw-r--r-- | drivers/net/ethernet/arc/emac_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/arc/emac_main.c b/drivers/net/ethernet/arc/emac_main.c index 761b936e0f0a..bbc3157bed92 100644 --- a/drivers/net/ethernet/arc/emac_main.c +++ b/drivers/net/ethernet/arc/emac_main.c @@ -799,7 +799,7 @@ static int arc_emac_probe(struct platform_device *pdev) dev_dbg(dev, "EMAC Device addr: Rx Ring [0x%x], Tx Ring[%x]\n", (unsigned int)priv->rxbd_dma, (unsigned int)priv->txbd_dma); - err = arc_mdio_probe(pdev, priv); + err = arc_mdio_probe(priv); if (err) { dev_err(dev, "failed to probe MII bus\n"); goto out_clken; |