OSDN Git Service

net: lan743x_ptp: convert to ktime_get_clocktai_ts64
authorArnd Bergmann <arnd@arndb.de>
Wed, 15 Aug 2018 17:49:49 +0000 (19:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Aug 2018 17:56:40 +0000 (10:56 -0700)
commit0b3e776e2e809b808875b10e35d1047c5c548da4
tree4ca174f9a9b090c04616803623a78f2e04d8b3cf
parent653cd284a8a857ddfcf24f5bc3bd204a229f6c9f
net: lan743x_ptp: convert to ktime_get_clocktai_ts64

timekeeping_clocktai64() has been renamed to ktime_get_clocktai_ts64()
for consistency with the other ktime_get_* access functions.

Rename the new caller that has come up as well.

Question: this is the only ptp driver that sets the hardware time
to the current system time in TAI. Why does it do that?

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/lan743x_ptp.c