summaryrefslogtreecommitdiffstats
path: root/drivers/ptp
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-11-12 15:35:14 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-12 21:12:39 +0100
commit1e86606ba05d5e6269dabb209f5406745cb5b141 (patch)
treee72b08c4b6717e53e7196a260c0bbe56b5d72045 /drivers/ptp
parentnet/sched: actions: remove unused 'order' (diff)
downloadlinux-1e86606ba05d5e6269dabb209f5406745cb5b141.tar.xz
linux-1e86606ba05d5e6269dabb209f5406745cb5b141.zip
ptp: ptp_clockmatrix: Fix build error
When do randbuilding, we got this warning: WARNING: unmet direct dependencies detected for PTP_1588_CLOCK Depends on [n]: NET [=y] && POSIX_TIMERS [=n] Selected by [y]: - PTP_1588_CLOCK_IDTCM [=y] Make PTP_1588_CLOCK_IDTCM depends on PTP_1588_CLOCK to fix this. Fixes: 3a6ba7dc7799 ("ptp: Add a ptp clock driver for IDT ClockMatrix.") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Vincent Cheng <vincent.cheng.xh@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
-rw-r--r--drivers/ptp/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index c48ad23cfa3a..b45d2b86d8ca 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -121,7 +121,7 @@ config PTP_1588_CLOCK_KVM
config PTP_1588_CLOCK_IDTCM
tristate "IDT CLOCKMATRIX as PTP clock"
- select PTP_1588_CLOCK
+ depends on PTP_1588_CLOCK
default n
help
This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP