diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
| commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
| tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/linux/pps_kernel.h | |
| parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) | |
Patched in Tegra support.
Diffstat (limited to 'include/linux/pps_kernel.h')
| -rw-r--r-- | include/linux/pps_kernel.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/pps_kernel.h b/include/linux/pps_kernel.h index 0cc45ae1afd..94048547f29 100644 --- a/include/linux/pps_kernel.h +++ b/include/linux/pps_kernel.h | |||
| @@ -116,14 +116,5 @@ static inline void pps_get_ts(struct pps_event_time *ts) | |||
| 116 | 116 | ||
| 117 | #endif /* CONFIG_NTP_PPS */ | 117 | #endif /* CONFIG_NTP_PPS */ |
| 118 | 118 | ||
| 119 | /* Subtract known time delay from PPS event time(s) */ | ||
| 120 | static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec delta) | ||
| 121 | { | ||
| 122 | ts->ts_real = timespec_sub(ts->ts_real, delta); | ||
| 123 | #ifdef CONFIG_NTP_PPS | ||
| 124 | ts->ts_raw = timespec_sub(ts->ts_raw, delta); | ||
| 125 | #endif | ||
| 126 | } | ||
| 127 | |||
| 128 | #endif /* LINUX_PPS_KERNEL_H */ | 119 | #endif /* LINUX_PPS_KERNEL_H */ |
| 129 | 120 | ||
