Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1143189pxb; Wed, 10 Feb 2021 00:45:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyM8GTOUboyCz/9iR8/0cXNU0CNlPw1kzVLUl4sXevv3Cy0XLA4++TIwiB82ud1zIQiGbG X-Received: by 2002:a05:6402:26c7:: with SMTP id x7mr2226889edd.24.1612946718150; Wed, 10 Feb 2021 00:45:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612946718; cv=none; d=google.com; s=arc-20160816; b=Bsou5VMCssSCfI5/d1P+XBMKm5g0GF5yaGkdifNIdUqyknVLclpAV/XLd3IihTcy2x 2Z67//MCrudzga4x72bo8plVHBWoRjUKS8xrY/vKU6DWMfCEfqHqx2UI+yUiKEhLs1u3 XUuI5+DvdPrN/lMpphMEHUnEujEIJoVMO3aXLL8HV7VTTPEp5tgdXbyOKLerqQn4ohC3 OnEnapExs7GuV8Xpor0LAnMArDufPCHcDyo+63qBDts01FXyvjh+plTuqMWhe9SSYG6X L3yVDs2Qxa4DKFlI1s5aYHWvNIAW2wEk2jTHdnctJPjWWetYOw4G38vaswjZLPqd1UJN a1XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GYCyvPrmBIBQaTbos6BPCKFMPcSw45jDIEv9hncVopw=; b=QH/uVbAOXBjNnNxxQexcTP9xhp2mOgiWETRxMHPmFjcd00GgKQEICkfUvrOWZSNTdB frlgmHVo2AlVuoam+ps44SVIfedKWJiX9xt/VFEw4u8cNIDjlmFCaCksy/xRlFkzYSY4 ujr/s40ajkiS4QdXo9Ernapn4Bd5rET/thohCaegzCK5FhNB5lAnpIu4JvK7GapEvfsy e73iNdcoYJzfRJPQ2Y+HT1mHWN+K05wQZmPX11CBlokDFLnESiCR1FIrPoPdo+vex6vp OzyVN+vtt/ZEFDudADfpRaLGK/A5ccOeBgRa8hnsWeuZpF6l8jKwkmle4+D1xUfDQoDo BhqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si916056ejy.10.2021.02.10.00.44.54; Wed, 10 Feb 2021 00:45:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233743AbhBJIM3 (ORCPT + 99 others); Wed, 10 Feb 2021 03:12:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233710AbhBJIL4 (ORCPT ); Wed, 10 Feb 2021 03:11:56 -0500 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 150E4C061756 for ; Wed, 10 Feb 2021 00:11:15 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by xavier.telenet-ops.be with bizsmtp id TLBC2401J4C55Sk01LBC56; Wed, 10 Feb 2021 09:11:13 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l9kae-0058KG-8i; Wed, 10 Feb 2021 09:11:12 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l9kad-004yLA-Gv; Wed, 10 Feb 2021 09:11:11 +0100 From: Geert Uytterhoeven To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX Date: Wed, 10 Feb 2021 09:11:10 +0100 Message-Id: <20210210081110.1185217-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Making global2 support mandatory removed the Kconfig symbol NET_DSA_MV88E6XXX_GLOBAL2. This symbol also served as an intermediate symbol to make NET_DSA_MV88E6XXX_PTP depend on NET_DSA_MV88E6XXX. With the symbol removed, the user is always asked about PTP support for Marvell 88E6xxx switches, even if the latter support is not enabled. Fix this by reinstating the dependency. Fixes: 63368a7416df144b ("net: dsa: mv88e6xxx: Make global2 support mandatory") Signed-off-by: Geert Uytterhoeven --- drivers/net/dsa/mv88e6xxx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6xxx/Kconfig b/drivers/net/dsa/mv88e6xxx/Kconfig index 05af632b0f597da9..634a48e6616b953a 100644 --- a/drivers/net/dsa/mv88e6xxx/Kconfig +++ b/drivers/net/dsa/mv88e6xxx/Kconfig @@ -12,7 +12,7 @@ config NET_DSA_MV88E6XXX config NET_DSA_MV88E6XXX_PTP bool "PTP support for Marvell 88E6xxx" default n - depends on PTP_1588_CLOCK + depends on NET_DSA_MV88E6XXX && PTP_1588_CLOCK help Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch chips that support it. -- 2.25.1