aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/fm10k/fm10k_ptp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/fm10k/fm10k_ptp.c')
-rw-r--r--drivers/net/ethernet/intel/fm10k/fm10k_ptp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_ptp.c b/drivers/net/ethernet/intel/fm10k/fm10k_ptp.c
index 02008e976d18..9043633c3e50 100644
--- a/drivers/net/ethernet/intel/fm10k/fm10k_ptp.c
+++ b/drivers/net/ethernet/intel/fm10k/fm10k_ptp.c
@@ -1,5 +1,5 @@
1/* Intel Ethernet Switch Host Interface Driver 1/* Intel Ethernet Switch Host Interface Driver
2 * Copyright(c) 2013 - 2014 Intel Corporation. 2 * Copyright(c) 2013 - 2015 Intel Corporation.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -319,7 +319,8 @@ static int fm10k_ptp_settime(struct ptp_clock_info *ptp,
319} 319}
320 320
321static int fm10k_ptp_enable(struct ptp_clock_info *ptp, 321static int fm10k_ptp_enable(struct ptp_clock_info *ptp,
322 struct ptp_clock_request *rq, int on) 322 struct ptp_clock_request *rq,
323 int __always_unused on)
323{ 324{
324 struct ptp_clock_time *t = &rq->perout.period; 325 struct ptp_clock_time *t = &rq->perout.period;
325 struct fm10k_intfc *interface; 326 struct fm10k_intfc *interface;