|
@@ -838,7 +838,8 @@ static int ptp_mpipe_adjtime(struct ptp_clock_info *ptp, s64 delta)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-static int ptp_mpipe_gettime(struct ptp_clock_info *ptp, struct timespec *ts)
|
|
|
+static int ptp_mpipe_gettime(struct ptp_clock_info *ptp,
|
|
|
+ struct timespec64 *ts)
|
|
|
{
|
|
|
int ret = 0;
|
|
|
struct mpipe_data *md = container_of(ptp, struct mpipe_data, caps);
|
|
@@ -850,7 +851,7 @@ static int ptp_mpipe_gettime(struct ptp_clock_info *ptp, struct timespec *ts)
|
|
|
}
|
|
|
|
|
|
static int ptp_mpipe_settime(struct ptp_clock_info *ptp,
|
|
|
- const struct timespec *ts)
|
|
|
+ const struct timespec64 *ts)
|
|
|
{
|
|
|
int ret = 0;
|
|
|
struct mpipe_data *md = container_of(ptp, struct mpipe_data, caps);
|
|
@@ -876,8 +877,8 @@ static struct ptp_clock_info ptp_mpipe_caps = {
|
|
|
.pps = 0,
|
|
|
.adjfreq = ptp_mpipe_adjfreq,
|
|
|
.adjtime = ptp_mpipe_adjtime,
|
|
|
- .gettime = ptp_mpipe_gettime,
|
|
|
- .settime = ptp_mpipe_settime,
|
|
|
+ .gettime64 = ptp_mpipe_gettime,
|
|
|
+ .settime64 = ptp_mpipe_settime,
|
|
|
.enable = ptp_mpipe_enable,
|
|
|
};
|
|
|
|