diff options
Diffstat (limited to 'include/linux/ptp_clock_kernel.h')
| -rw-r--r-- | include/linux/ptp_clock_kernel.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/ptp_clock_kernel.h b/include/linux/ptp_clock_kernel.h index a644b29f1161..56c71b27112e 100644 --- a/include/linux/ptp_clock_kernel.h +++ b/include/linux/ptp_clock_kernel.h | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #ifndef _PTP_CLOCK_KERNEL_H_ | 21 | #ifndef _PTP_CLOCK_KERNEL_H_ |
| 22 | #define _PTP_CLOCK_KERNEL_H_ | 22 | #define _PTP_CLOCK_KERNEL_H_ |
| 23 | 23 | ||
| 24 | #include <linux/device.h> | ||
| 24 | #include <linux/pps_kernel.h> | 25 | #include <linux/pps_kernel.h> |
| 25 | #include <linux/ptp_clock.h> | 26 | #include <linux/ptp_clock.h> |
| 26 | 27 | ||
| @@ -93,10 +94,12 @@ struct ptp_clock; | |||
| 93 | /** | 94 | /** |
| 94 | * ptp_clock_register() - register a PTP hardware clock driver | 95 | * ptp_clock_register() - register a PTP hardware clock driver |
| 95 | * | 96 | * |
| 96 | * @info: Structure describing the new clock. | 97 | * @info: Structure describing the new clock. |
| 98 | * @parent: Pointer to the parent device of the new clock. | ||
| 97 | */ | 99 | */ |
| 98 | 100 | ||
| 99 | extern struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info); | 101 | extern struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info, |
| 102 | struct device *parent); | ||
| 100 | 103 | ||
| 101 | /** | 104 | /** |
| 102 | * ptp_clock_unregister() - unregister a PTP hardware clock driver | 105 | * ptp_clock_unregister() - unregister a PTP hardware clock driver |
