diff options
| author | 2019-09-16 09:56:27 -0700 | |
|---|---|---|
| committer | 2019-09-16 09:56:27 -0700 | |
| commit | 0898782247ae533d1f4e47a06bc5d4870931b284 (patch) | |
| tree | 21f75cc590542a870f42350b9410fc0588f02b79 /include/linux/ptp_clock_kernel.h | |
| parent | Input: elan_i2c - remove Lenovo Legion Y7000 PnpID (diff) | |
| parent | Input: sidewinder - make array seq static const, makes object smaller (diff) | |
| download | linux-dev-0898782247ae533d1f4e47a06bc5d4870931b284.tar.xz linux-dev-0898782247ae533d1f4e47a06bc5d4870931b284.zip | |
Merge branch 'next' into for-linus
Prepare input updates for 5.4 merge window.
Diffstat (limited to 'include/linux/ptp_clock_kernel.h')
| -rw-r--r-- | include/linux/ptp_clock_kernel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ptp_clock_kernel.h b/include/linux/ptp_clock_kernel.h index 28eb9c792522..93cc4f1d444a 100644 --- a/include/linux/ptp_clock_kernel.h +++ b/include/linux/ptp_clock_kernel.h @@ -213,6 +213,14 @@ extern void ptp_clock_event(struct ptp_clock *ptp, extern int ptp_clock_index(struct ptp_clock *ptp); /** + * scaled_ppm_to_ppb() - convert scaled ppm to ppb + * + * @ppm: Parts per million, but with a 16 bit binary fractional field + */ + +extern s32 scaled_ppm_to_ppb(long ppm); + +/** * ptp_find_pin() - obtain the pin index of a given auxiliary function * * @ptp: The clock obtained from ptp_clock_register(). |
