commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=b67ac33a823f850dd5d53b98a31e23414017391d
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk

Fix below build error:
drivers/net/ethernet/adi/bfin_mac.c: In function ‘bfin_phc_init’:
drivers/net/ethernet/adi/bfin_mac.c:1049: error: too many arguments to
function ‘ptp_clock_register’

Signed-off-by: Bob Liu <[email protected]>
---
 drivers/net/ethernet/adi/bfin_mac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index 88053a4..1d1b3ab 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -1046,7 +1046,7 @@ static int bfin_phc_init(struct net_device *netdev, struct device *dev)
 
 	lp->caps = bfin_ptp_caps;
 	lp->caps.max_adj = lp->max_ppb;
-	lp->clock = ptp_clock_register(&lp->caps, dev);
+	lp->clock = ptp_clock_register(&lp->caps);
 	if (IS_ERR(lp->clock))
 		return PTR_ERR(lp->clock);
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to