diff options
Diffstat (limited to 'include/linux/platform')
| -rw-r--r-- | include/linux/platform/tegra/ptp-notifier.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/platform/tegra/ptp-notifier.h b/include/linux/platform/tegra/ptp-notifier.h index 57a7b0070..17bd5e52c 100644 --- a/include/linux/platform/tegra/ptp-notifier.h +++ b/include/linux/platform/tegra/ptp-notifier.h | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | #if IS_ENABLED(CONFIG_TEGRA_PTP_NOTIFIER) | 22 | #if IS_ENABLED(CONFIG_TEGRA_PTP_NOTIFIER) |
| 23 | /* register / unregister HW time source */ | 23 | /* register / unregister HW time source */ |
| 24 | void tegra_register_hwtime_source(u64 (*func)(void)); | 24 | void tegra_register_hwtime_source(u64 (*func)(void *), void *data); |
| 25 | void tegra_unregister_hwtime_source(void); | 25 | void tegra_unregister_hwtime_source(void); |
| 26 | 26 | ||
| 27 | /* clients registering / unregistering for time update events */ | 27 | /* clients registering / unregistering for time update events */ |
| @@ -41,7 +41,8 @@ u64 get_ptp_hwtime(void); | |||
| 41 | #else /* CONFIG_TEGRA_PTP_NOTIFIER */ | 41 | #else /* CONFIG_TEGRA_PTP_NOTIFIER */ |
| 42 | 42 | ||
| 43 | /* register / unregister HW time source */ | 43 | /* register / unregister HW time source */ |
| 44 | static inline void tegra_register_hwtime_source(u64 (*func)(void)) | 44 | static inline void tegra_register_hwtime_source(u64 (*func)(void *), |
| 45 | void *data) | ||
| 45 | { | 46 | { |
| 46 | } | 47 | } |
| 47 | 48 | ||
