diff options
author | Yangbo Lu | 2021-06-30 16:11:52 +0800 |
---|---|---|
committer | David S. Miller | 2021-07-01 13:08:18 -0700 |
commit | 5d43f951b1ac797450bb4d230fdc960b739bea04 (patch) | |
tree | 7e4ef8c7ca741fecd668e94f122543f34284ca61 /drivers/ptp/Makefile | |
parent | 88827353c696defc40de7a5cdae5a5a084598fe2 (diff) |
ptp: add ptp virtual clock driver framework
This patch is to add ptp virtual clock driver framework
utilizing timecounter/cyclecounter.
The patch just exports two essential APIs for PTP driver.
- ptp_vclock_register()
- ptp_vclock_unregister()
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp/Makefile')
-rw-r--r-- | drivers/ptp/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ptp/Makefile b/drivers/ptp/Makefile index 8673d1743faa..28a6fe342d3e 100644 --- a/drivers/ptp/Makefile +++ b/drivers/ptp/Makefile @@ -3,7 +3,7 @@ # Makefile for PTP 1588 clock support. # -ptp-y := ptp_clock.o ptp_chardev.o ptp_sysfs.o +ptp-y := ptp_clock.o ptp_chardev.o ptp_sysfs.o ptp_vclock.o ptp_kvm-$(CONFIG_X86) := ptp_kvm_x86.o ptp_kvm_common.o ptp_kvm-$(CONFIG_HAVE_ARM_SMCCC) := ptp_kvm_arm.o ptp_kvm_common.o obj-$(CONFIG_PTP_1588_CLOCK) += ptp.o |