Re: [PATCH net-next] ptp: ptp_clockmatrix: Fix build error

From: David Miller
Date: Tue Nov 12 2019 - 15:12:50 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Tue, 12 Nov 2019 22:35:14 +0800

> 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@xxxxxxxxxx>

Applied.