]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdbbdb19e1cf11e8dd3c222a049e1247752c7c58
treee72b08c4b6717e53e7196a260c0bbe56b5d72045
parenta728afcbd9b0838997061d08b3a58a08d4311bf1
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: f0e3e8ab0f7b ("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