summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYangbo Lu <yangbo.lu@nxp.com>2020-02-11 07:52:49 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-17 05:30:41 +0300
commitd71151a39c97d551378a441c089508b0bca48210 (patch)
treecffa3740f597be8748856125648c0663bd25ad14 /include/linux
parent2019fc96af228b412bdb2e8e0ad4b1fc12046a51 (diff)
downloadlinux-d71151a39c97d551378a441c089508b0bca48210.tar.xz
ptp_qoriq: drop the code of alarm
The alarm function hadn't been supported by PTP clock driver. The recommended solution PHC + phc2sys + nanosleep provides best performance. So drop the code of alarm in ptp_qoriq driver. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fsl/ptp_qoriq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fsl/ptp_qoriq.h b/include/linux/fsl/ptp_qoriq.h
index b0b743563f43..75884563059f 100644
--- a/include/linux/fsl/ptp_qoriq.h
+++ b/include/linux/fsl/ptp_qoriq.h
@@ -149,8 +149,6 @@ struct ptp_qoriq {
bool extts_fifo_support;
int irq;
int phc_index;
- u64 alarm_interval; /* for periodic alarm */
- u64 alarm_value;
u32 tclk_period; /* nanoseconds */
u32 tmr_prsc;
u32 tmr_add;