Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp607421ybc; Tue, 12 Nov 2019 06:36:43 -0800 (PST) X-Google-Smtp-Source: APXvYqz1WeQ8cl22UXmoFpG/iys725Z8qyZbmCuai+Hs/ZIIbAUIX7phZ01NXordda+hXy9lr6RG X-Received: by 2002:a17:906:c314:: with SMTP id s20mr28620920ejz.118.1573569403547; Tue, 12 Nov 2019 06:36:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573569403; cv=none; d=google.com; s=arc-20160816; b=DQbJlAWTs4tNgAcY2QnYPD1jCbQYEeOLYPTXx29gAfdpIcta1APLBRSinenVBpypaj Pa07sukdAZNHrZmm9i7nd+iuJVCOGReS+myrqx1ONoYrjoxla02bHPYJeJiXHA7ds0g/ 6TcNFgjmLMoDm5CJ+Gpq0oGDQ9Dq64YhyaWMyo0Gnodh/X9P86dI8DaVlAvySfGzROFq 4p+4jegBK0nsGLlUV/FiAv/fcFAVgdCij3nAsxu+C1JdLzF0qHxtr6+1K/9P9UFeojRu T+UslDqAcTGh/dNM/iQV7kpZH8kiDv4es4YO+yjwRfREJUUoUQJt2DA8/TsF+//dcOHN 8FfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=Od8dQ6ZEiZc6io4O/6AhL4G4V90mIQ2TzIWhCvCKDJc=; b=gP0D+i4aCRsfVNVv6BuRUP+GzAJzhM+C89o06s1PyHrDPGeXkW1lJao77naGQJNOmw 6d4VVyI0l6FO77VcWYOw+DOtQpp8FqGGBG02oAzdI1BhSVERKlB0i6arIKgZ+zXH7Jx8 Nx0j7/xdP0SO9yQ11Ebs5MHBFogKl357k9yoNVWFDl5h5gA9ZyE+HTLAzQEkEAGK/wFD P0EEtkhW1vHZnwEeDOi4xr1/yMNO02JT0NaerdJnlb4o8JHVJrXA6Ng66FQtimlHQWI7 l9Aok776cmgBZNwrNVGNIdUl6N+WbSbgWTe1tXfztpVnL0z9FyfpYnK2YISq6q/TXrcc moAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si16417704edb.164.2019.11.12.06.36.19; Tue, 12 Nov 2019 06:36:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727653AbfKLOfu (ORCPT + 99 others); Tue, 12 Nov 2019 09:35:50 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:53848 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727149AbfKLOft (ORCPT ); Tue, 12 Nov 2019 09:35:49 -0500 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 59CACBCB7FFD305AFFB8; Tue, 12 Nov 2019 22:35:45 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.439.0; Tue, 12 Nov 2019 22:35:34 +0800 From: YueHaibing To: , , CC: , , YueHaibing Subject: [PATCH net-next] ptp: ptp_clockmatrix: Fix build error Date: Tue, 12 Nov 2019 22:35:14 +0800 Message-ID: <20191112143514.10784-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/ptp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index c48ad23..b45d2b8 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig @@ -121,7 +121,7 @@ config PTP_1588_CLOCK_KVM config PTP_1588_CLOCK_IDTCM tristate "IDT CLOCKMATRIX as PTP clock" - select PTP_1588_CLOCK + depends on PTP_1588_CLOCK default n help This driver adds support for using IDT CLOCKMATRIX(TM) as a PTP -- 2.7.4