ptp: ptp_clockmatrix: Fix build error
authorYueHaibing <yuehaibing@huawei.com>
Tue, 12 Nov 2019 14:35:14 +0000 (22:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 20:12:39 +0000 (12:12 -0800)
commit1e86606ba05d5e6269dabb209f5406745cb5b141
treee72b08c4b6717e53e7196a260c0bbe56b5d72045
parente0e2b35b790fefbcff5689984a134cdaa4ce051c
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>
drivers/ptp/Kconfig