]> asedeno.scripts.mit.edu Git - linux.git/commit
ptp: deprecate gettime64() in favor of gettimex64()
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 9 Nov 2018 10:14:45 +0000 (11:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2018 03:43:51 +0000 (19:43 -0800)
commit916444df305ef5b8a7d824aac7dd2aeba3a4db3b
tree3ca50fe4899713cf88c290d949e321d1a36ebfe2
parent361800876f80da3915c46e388fc682532228b2c3
ptp: deprecate gettime64() in favor of gettimex64()

When a driver provides gettimex64(), use it in the PTP_SYS_OFFSET ioctl
and POSIX clock's gettime() instead of gettime64(). Drivers should
provide only one of the functions.

Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_chardev.c
drivers/ptp/ptp_clock.c
include/linux/ptp_clock_kernel.h