diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-06-07 14:48:00 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-08 01:41:07 +0400 |
commit | ca162a82f56921442f5db72a3a472010e5a62c4b (patch) | |
tree | 292a2e4cf3eed58f61e8557a2069f987594e4dd5 /drivers/net/ethernet/freescale/fec.h | |
parent | 28850dc7c71da9d0c0e39246e9ff6913f41f8d0a (diff) | |
download | linux-ca162a82f56921442f5db72a3a472010e5a62c4b.tar.xz |
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.h')
-rw-r--r-- | drivers/net/ethernet/freescale/fec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index b11cdbcc04ff..e3ed6c5ae801 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -275,7 +275,7 @@ struct fec_enet_private { struct regulator *reg_phy; }; -void fec_ptp_init(struct net_device *ndev, struct platform_device *pdev); +void fec_ptp_init(struct platform_device *pdev); void fec_ptp_start_cyclecounter(struct net_device *ndev); int fec_ptp_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd); |