LinuxKPI: PTP add (*settime64) to struct ptp_clock_info
While iwlwifi supportes PTP, LinuxKPI does not and we only add the definitons to avoid mangling upstream drivers. iwlwifi(4) does not even support the (*settime64) callback but only returns -EOPNOTSUPP. Sponosred by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D54802
This commit is contained in:
@@ -49,6 +49,7 @@ struct ptp_clock_info {
|
||||
int (*adjtime)(struct ptp_clock_info *, s64);
|
||||
int (*getcrosststamp)(struct ptp_clock_info *, struct system_device_crosststamp *);
|
||||
int (*gettime64)(struct ptp_clock_info *, struct timespec *);
|
||||
int (*settime64)(struct ptp_clock_info *, const struct timespec *);
|
||||
};
|
||||
|
||||
static inline struct ptp_clock *
|
||||
|
||||
Reference in New Issue
Block a user