aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fec_main.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-06-07 06:48:00 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:00:58 -0400
commit9523a00f6e0006b2b7c346b90678fb64add69898 (patch)
tree920504c1a663dc67b428d0797c151eed71af372f /drivers/net/ethernet/freescale/fec_main.c
parent02bc78392ad28562b0ce8f84a2cfd85f7b0b6890 (diff)
fec: Only pass pdev in fec_ptp_init()
Passing pdev in fec_ptp_init() is enough, since we can get ndev locally. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_main.c')
-rw-r--r--drivers/net/ethernet/freescale/fec_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 14beaaba32d0..0e0cd2705549 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -1959,7 +1959,7 @@ fec_probe(struct platform_device *pdev)
1959 fec_reset_phy(pdev); 1959 fec_reset_phy(pdev);
1960 1960
1961 if (fep->bufdesc_ex) 1961 if (fep->bufdesc_ex)
1962 fec_ptp_init(ndev, pdev); 1962 fec_ptp_init(pdev);
1963 1963
1964 ret = fec_enet_init(ndev); 1964 ret = fec_enet_init(ndev);
1965 if (ret) 1965 if (ret)