aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ptp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ptp')
-rw-r--r--drivers/ptp/ptp_clock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/ptp/ptp_clock.c b/drivers/ptp/ptp_clock.c
index f519a131238d..1e528b539a07 100644
--- a/drivers/ptp/ptp_clock.c
+++ b/drivers/ptp/ptp_clock.c
@@ -304,6 +304,12 @@ void ptp_clock_event(struct ptp_clock *ptp, struct ptp_clock_event *event)
304} 304}
305EXPORT_SYMBOL(ptp_clock_event); 305EXPORT_SYMBOL(ptp_clock_event);
306 306
307int ptp_clock_index(struct ptp_clock *ptp)
308{
309 return ptp->index;
310}
311EXPORT_SYMBOL(ptp_clock_index);
312
307/* module operations */ 313/* module operations */
308 314
309static void __exit ptp_exit(void) 315static void __exit ptp_exit(void)