]> 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)
commita41f38c9666f40d7b0940f635c0bac0b93bc0c4b
treee72b08c4b6717e53e7196a260c0bbe56b5d72045
parentd4b7d1dc2333cd0b1e2849571c12a7e1f5da9a55
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: 54108a7bc942 ("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