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>
This commit is contained in:

committed by
David S. Miller

parent
28850dc7c7
commit
ca162a82f5
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user