Skip to content

Commit 1e86606

Browse files
YueHaibingdavem330
authored andcommitted
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: 3a6ba7d ("ptp: Add a ptp clock driver for IDT ClockMatrix.") Signed-off-by: YueHaibing <[email protected]> Reviewed-by: Vincent Cheng <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent e0e2b35 commit 1e86606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ptp/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ config PTP_1588_CLOCK_KVM
121121

122122
config PTP_1588_CLOCK_IDTCM
123123
tristate "IDT CLOCKMATRIX as PTP clock"
124-
select PTP_1588_CLOCK
124+
depends on PTP_1588_CLOCK
125125
default n
126126
help
127127
This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP

0 commit comments

Comments
 (0)