From patchwork Wed Sep 13 08:50:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 722789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B222CA5510 for ; Wed, 13 Sep 2023 08:50:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239076AbjIMIu1 (ORCPT ); Wed, 13 Sep 2023 04:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235107AbjIMIu1 (ORCPT ); Wed, 13 Sep 2023 04:50:27 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D40D10C0 for ; Wed, 13 Sep 2023 01:50:23 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2bf78950354so67454721fa.1 for ; Wed, 13 Sep 2023 01:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694595021; x=1695199821; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=0LhAnrh1Oujp6OYYPLbV5mE5o88DEDP4krLIDveaLy4=; b=WPlbyIuVwKuCvSHFpDQWND42Bnbg+cYo6zJplRPs9esVOfwYh4U8zuCAqjDLOMyKxQ erDlolcnT1KtGVjK8aip1QtAsFjPIaN5jOHfa+uqspyBhO/xt4mqV7TZlW8C7D+oU4RC ZCuohowUt3EAkGUMOIOfSNa/F8cHB3NN5inuvD88bggrj6x7CqzyXcS+8ruXECQoVNzp WiFUVAHzHL+jEOAbIYJ4Vx5RuCyGy+FLUuHVOYRHDlo0sNKM/RrMyt8aMUjDtapnrXXV edU/50MckyQHnIz3I2nza1KL/76l42eurPiwXWQzN1M/40EpcSsNHEQnt28FiyYIeQaT U3hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694595021; x=1695199821; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0LhAnrh1Oujp6OYYPLbV5mE5o88DEDP4krLIDveaLy4=; b=Jjx7SDnJaNgNInBSQ/QpV8iNJxlyJP/dAbCO+mx4VkmRZlqEfsrjzWwnth/SnyrW/x JDO2cmh77pMqm/jCdvrWsTSyLZCJ/wOPjz7/qxMX9mDlmTcdgh2M0fZ5Cm5548Klejbr 5QX6iTootKz2exktc/wi4IOBSYyNRTBZgZ9enAy69wMv5Ef+rjyK+T1fqFuHMGHD4XDx MPIVmu8cyskBv3i3laWMqnRYPSMGUsHJmt4WTxNV7PeuD22gR0p2Gest3K9m9hc19bx/ NssevoJWZTilTpq3fnR1lQJH0lfBi3TnfZzXEwpgaWI5p8Z9WW5IeWgC9PCUqhXYlEW4 5lTA== X-Gm-Message-State: AOJu0YzbY6mP2D6RewAHrb9EKioulFkMjXbOZ9/lecvxciZBfYszPXt1 /J9X/Smo/FK9p80BXze5xJspX7XZaqdN6GudVP0= X-Google-Smtp-Source: AGHT+IHeC+Xy2rsh+UeTSfI7iki71Qj3cUtb2acZVYeFNAEIrdPI/KOAsMrelcLxZvZ3NrHB0atgtg== X-Received: by 2002:a05:6512:1151:b0:500:ac71:f26a with SMTP id m17-20020a056512115100b00500ac71f26amr1952253lfg.57.1694595021103; Wed, 13 Sep 2023 01:50:21 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id v5-20020ac25605000000b004ff91dde4b4sm2064622lfd.93.2023.09.13.01.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:50:20 -0700 (PDT) From: Linus Walleij Date: Wed, 13 Sep 2023 10:50:19 +0200 Subject: [PATCH] pinctrl: nuvoton: Fix up Kconfig deps MIME-Version: 1.0 Message-Id: <20230913-novoton-kconfig-v1-1-1c2dff14c0d2@linaro.org> X-B4-Tracking: v=1; b=H4sIAMp3AWUC/x3MSwqAMAwA0atI1haiUn9XERdSYw1CIq2IIL27x eVbzLwQKTBFGIsXAt0cWSWjKgtw+yKeDK/ZUGPd4FA1RvTWS8UcTmVjb/rBuhY7ay0i5OoMtPH zH6c5pQ/tkdi7YQAAAA== To: Tomer Maimon Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap , Linus Walleij X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org We have build errors due to missing dependency on OF. Add the dependency and do it the same way for all three Nuvotons while we are at it. Reported-by: Randy Dunlap Signed-off-by: Linus Walleij --- drivers/pinctrl/nuvoton/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- base-commit: c9336ebe87e77f92ed04a86c0131a0310d0e200d change-id: 20230913-novoton-kconfig-895c60755500 Best regards, diff --git a/drivers/pinctrl/nuvoton/Kconfig b/drivers/pinctrl/nuvoton/Kconfig index 612e7ba02238..2abbfcec1fae 100644 --- a/drivers/pinctrl/nuvoton/Kconfig +++ b/drivers/pinctrl/nuvoton/Kconfig @@ -2,8 +2,7 @@ config PINCTRL_WPCM450 tristate "Pinctrl and GPIO driver for Nuvoton WPCM450" - depends on ARCH_WPCM450 || COMPILE_TEST - depends on OF + depends on (ARCH_WPCM450 || COMPILE_TEST) && OF select PINMUX select PINCONF select GENERIC_PINCONF @@ -35,7 +34,7 @@ config PINCTRL_NPCM7XX config PINCTRL_NPCM8XX tristate "Pinctrl and GPIO driver for Nuvoton NPCM8XX" - depends on ARCH_NPCM || COMPILE_TEST + depends on (ARCH_NPCM || COMPILE_TEST) && OF select PINMUX select PINCONF select GENERIC_PINCONF