diff options
author | 2020-02-11 12:52:49 +0800 | |
---|---|---|
committer | 2020-02-16 18:30:41 -0800 | |
commit | d71151a39c97d551378a441c089508b0bca48210 (patch) | |
tree | cffa3740f597be8748856125648c0663bd25ad14 /include/linux/fsl/ptp_qoriq.h | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | linux-dev-d71151a39c97d551378a441c089508b0bca48210.tar.xz linux-dev-d71151a39c97d551378a441c089508b0bca48210.zip |
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 '')
-rw-r--r-- | include/linux/fsl/ptp_qoriq.h | 2 |
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; |