Message ID | 20230619082104.699331-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2850567vqr; Mon, 19 Jun 2023 01:33:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Wp54lhGdY18sLZf7izlboRG+99Lbojqog7IFvYk0uRn1Rpv+maIenEFrxwHlZw1gycl12 X-Received: by 2002:a17:902:d2ca:b0:1b2:5070:c1c9 with SMTP id n10-20020a170902d2ca00b001b25070c1c9mr5519875plc.20.1687163616785; Mon, 19 Jun 2023 01:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687163616; cv=none; d=google.com; s=arc-20160816; b=N/JquvT9aNTkzyH/LMsvPc1kRxGW3bqIiSQhnSfV9Cl7MdDr9zl9OOPsDtxeBmK9Ey AcNoPY3FipgkCr2jqkVvNKxj3Cnk98aLZObI7rKNYjOnt+w2RwwkyysExj0o0OjcYlMJ F9HTPFN9aXbQprEIXAN8bIRjNl1hpSQpNftNRFNMB9LlF/lOoRqt0GIY1DHvoDebWY30 wLp/azPUKMyE2TcF/pcKsEwc8tUKeMspgK3PSLeBhhpjipNu+9+NLY3LjMoBUQ0iNnP0 R3sewfSSUAIwNOAO70QjUtalOiPr2mC8Lfz0gdCpzCLCasuwDW02TbYEcdVs3vv0mDZu QNLQ== 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:dkim-signature; bh=s6A/NvskCdKj9kwGgmz6Ww4z9H9/UrBYEFbHkIIXINw=; b=L9ype5s5TarhvlDWT9PLkCtjx+Y335oIFdwNMfHLRQbFl1kBJjWCMr49PdKSlpxqRj BScnmJFmAOo1Zsb5x9CO/UA02Vmd2fEu9h8ktnxzBFzmnpBy9wuGzCOVkHgS+KnnE6u1 05S9elDx542l1C04mJY2fWiR4ZgMCyZSweslKy8uVqylYRCHS1D3yFa+TtgX0/QtkXHj HZvhFo4h632zRrpL69IA+t7RVuMXLYtroym6vqTBDu6pTvZWc2MaTB8xd/7nONIkBzdF ekAMDCT+BrKq5ejAg0KfOYYnSAR5srVeLxNGG48aj1DaC6+6rBCU27HNOvF2qzn9OsaF SF8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Im1oAPjx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a170902bd0800b001b3cf7eb499si2003993pls.633.2023.06.19.01.33.24; Mon, 19 Jun 2023 01:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Im1oAPjx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230027AbjFSIV3 (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Mon, 19 Jun 2023 04:21:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbjFSIVQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Jun 2023 04:21:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AF54196; Mon, 19 Jun 2023 01:21:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1AC9460B61; Mon, 19 Jun 2023 08:21:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6F8DC433C0; Mon, 19 Jun 2023 08:21:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687162869; bh=0vMnUhFvqF862nKrVnqmtvKfCO2g8YSrSHAeMLeCpOE=; h=From:To:Cc:Subject:Date:From; b=Im1oAPjxb88I1OL9rKcUOcX6tQi7vJu2/Qiq+GWFrdcb+UDkWix0qJ7aT1+yjSXBV mBjWA6fkl0bA1Xkv0WX8L4zAEUWtzzYOLXumWVILV875h9IVmLyazh6OIkL4Qp/7qX jcpCBLPLsMo1HSA+tKXl4vo0SZ58F5uOytSOlq9RSPusP3vLq+EbOsPME1F5RyYN0Y 05tawIRBKzRUSEcPYP2UVdJ8g97rJdeQgzMJt3Eg883zUGga5tpY70xAV8m5ByA9oR n00m/ps70hZxUTVK8sd9s1BWSqBtGkHOurIcyiKtPNumxq8DvDP4fShhGLJzkKL9en jXhFFdeK/KdQQ== From: Arnd Bergmann <arnd@kernel.org> To: Linus Walleij <linus.walleij@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Colin Foster <colin.foster@in-advantage.com>, Lee Jones <lee@kernel.org>, Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: mlxbf3: remove broken Kconfig 'select' Date: Mon, 19 Jun 2023 10:20:50 +0200 Message-Id: <20230619082104.699331-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769119276283753697?= X-GMAIL-MSGID: =?utf-8?q?1769119276283753697?= |
Series |
pinctrl: mlxbf3: remove broken Kconfig 'select'
|
|
Commit Message
Arnd Bergmann
June 19, 2023, 8:20 a.m. UTC
From: Arnd Bergmann <arnd@arndb.de> The new pinctrl driver selects GPIO_MLXBF3, but that can not be enabled yet because the MELLANOX_PLATFORM symbol does not exist in the tree: WARNING: unmet direct dependencies detected for GPIO_MLXBF3 Depends on [n]: GPIOLIB [=y] && PCI [=n] && (MELLANOX_PLATFORM [=n] && ARM64 [=y] || COMPILE_TEST [=y]) Selected by [y]: - PINCTRL_MLXBF3 [=y] && PINCTRL [=y] && (MELLANOX_PLATFORM [=n] && ARM64 [=y] || COMPILE_TEST [=y]) As it turns out, the pinctlr driver still builds fine without this, so just remove the select statement. Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/pinctrl/Kconfig | 1 - 1 file changed, 1 deletion(-)
Comments
On Mon, Jun 19, 2023 at 10:21 AM Arnd Bergmann <arnd@kernel.org> wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The new pinctrl driver selects GPIO_MLXBF3, but that can not be enabled yet because > the MELLANOX_PLATFORM symbol does not exist in the tree: > > WARNING: unmet direct dependencies detected for GPIO_MLXBF3 > Depends on [n]: GPIOLIB [=y] && PCI [=n] && (MELLANOX_PLATFORM [=n] && ARM64 [=y] || COMPILE_TEST [=y]) > Selected by [y]: > - PINCTRL_MLXBF3 [=y] && PINCTRL [=y] && (MELLANOX_PLATFORM [=n] && ARM64 [=y] || COMPILE_TEST [=y]) > > As it turns out, the pinctlr driver still builds fine without this, so just > remove the select statement. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Patch applied! Yours, Linus Walleij
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index 77ff9a641aebf..57d57af1f624e 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -510,7 +510,6 @@ config PINCTRL_MLXBF3 select PINMUX select GPIOLIB select GPIOLIB_IRQCHIP - select GPIO_MLXBF3 help Say Y to select the pinctrl driver for BlueField-3 SoCs. This pin controller allows selecting the mux function for