diff options
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/dp83640.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/dp83640.c b/drivers/net/phy/dp83640.c index b0da0226661..24e05c43bff 100644 --- a/drivers/net/phy/dp83640.c +++ b/drivers/net/phy/dp83640.c | |||
@@ -980,7 +980,7 @@ static int dp83640_probe(struct phy_device *phydev) | |||
980 | 980 | ||
981 | if (choose_this_phy(clock, phydev)) { | 981 | if (choose_this_phy(clock, phydev)) { |
982 | clock->chosen = dp83640; | 982 | clock->chosen = dp83640; |
983 | clock->ptp_clock = ptp_clock_register(&clock->caps); | 983 | clock->ptp_clock = ptp_clock_register(&clock->caps, &phydev->dev); |
984 | if (IS_ERR(clock->ptp_clock)) { | 984 | if (IS_ERR(clock->ptp_clock)) { |
985 | err = PTR_ERR(clock->ptp_clock); | 985 | err = PTR_ERR(clock->ptp_clock); |
986 | goto no_register; | 986 | goto no_register; |