Commit 1e86606b authored by YueHaibing's avatar YueHaibing Committed by David S. Miller

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: 3a6ba7dc ("ptp: Add a ptp clock driver for IDT ClockMatrix.")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarVincent Cheng  <vincent.cheng.xh@renesas.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0e2b35b
...@@ -121,7 +121,7 @@ config PTP_1588_CLOCK_KVM ...@@ -121,7 +121,7 @@ config PTP_1588_CLOCK_KVM
config PTP_1588_CLOCK_IDTCM config PTP_1588_CLOCK_IDTCM
tristate "IDT CLOCKMATRIX as PTP clock" tristate "IDT CLOCKMATRIX as PTP clock"
select PTP_1588_CLOCK depends on PTP_1588_CLOCK
default n default n
help help
This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment