Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3771221pxk; Tue, 29 Sep 2020 06:01:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiNxxKpG7uyko3xH+CKtmcvQl6O9fpFx5ruuYKLj75GhEyMb5jmlBbRLQ0hzwepMzxuG07 X-Received: by 2002:a7b:ce17:: with SMTP id m23mr4295770wmc.98.1601384483915; Tue, 29 Sep 2020 06:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601384483; cv=none; d=google.com; s=arc-20160816; b=XEO0Ob4rYYJgFL2I7WK69YT4SJU8ior7G77pYdJDoe8zzEGQcpGzOhQ1jiNcBEP+H/ MibrmYGPhBuoYi1MJvcs6T0Zhb9btF7w+jEiqk7ZCaxGQRatbeeezHUXWH0ZP/pHYSbo MzeaXPP5uCYIMwFi/dZhT7z/ltqFXzwIa6fGjZnLkF5hzttJrlwAO7q1/Koiz4XUaBnx VqmS6FnaimydxblsnlIAM+aESwYmlV+16PHbDlyNxzS447s1uLZxxF/4dibCPsqllQsn mVCBBsdZXeg0I1FKgmA/r+jA1hoP3F2T5GdI4y7HiHIMafjEOwoNpmq/vXN9y7TpaK0K 4LQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=eh3KJG2w7Yys6UJFQHww2Hj3zhNUGcK2PJZaSQvoL8k=; b=Pnbsoxk0j687+zIl4cDNAs3VovWWGB5R5xsidJ43zOume4bxYVTwr+qbS2Ut8xLosg ihsbMggCjVeY6uJmw81rRPkpBKo7vPdHt2xqQLBIgQwiVBE+34hl8b+30mt6q5feng86 X6JuMGoo0Ofts69YNxqEjVZrpCPGtcdzRYRdJIIekBzsoFvsMsFLMq+/sLgVPyKgsqc4 qwrNYIoaRab/mlhHeJkzlLhos2lDCFv/J6Rh7r/vvAyh8f5zLWQrPpLFS7yHSN2gii10 zzc/d8pB+QAv1JzkzW2cXy5+VJ0jKVpmhUttHkiCnMIxklJBN4m3y2zKONHJdbUvM6vI /X6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pkDwbqFF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p8si2619080edi.48.2020.09.29.06.00.59; Tue, 29 Sep 2020 06:01:23 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=pkDwbqFF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728393AbgI2M7z (ORCPT + 99 others); Tue, 29 Sep 2020 08:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgI2M7z (ORCPT ); Tue, 29 Sep 2020 08:59:55 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF3B8C061755 for ; Tue, 29 Sep 2020 05:59:54 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id m5so5392093lfp.7 for ; Tue, 29 Sep 2020 05:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eh3KJG2w7Yys6UJFQHww2Hj3zhNUGcK2PJZaSQvoL8k=; b=pkDwbqFFvv0yf46aTOLZYdoje82yh84sOxJ0zOD1Mo1S9fCTDrdvooZRmXIFWfAyLe LuO25Ff8ySbEejdwpHOAQ3GlirPeC4A+dtwBna0OrrDDipAhUh+3M1apNY87dRrbt3am XPr/8CfFIPw5rFVMz5r9FNSAlFDXa+EC0/YNidBiRs99dwe0AqHUocXDbXTYbvkKbxMk tvDf2UyEucYevFfsHeDNNCQuFoBU2DtvCBu2oTzKTeaI+7YuVBEhyh6lHJSg/b72TBFI gYNNjQ6yT0dO2hT6ge1cVWpeO5WCNrCoH/s4Z2JUpFwlwBjE/pnPFB/jczKY5i1WHlFZ eOVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eh3KJG2w7Yys6UJFQHww2Hj3zhNUGcK2PJZaSQvoL8k=; b=udYwkxhZboS48WhOeT0agpXrOlISGewPpz6VOAZjglh2+KCfh41Gr68Kg9FFlLV7J1 Xdq7VSkZe70hno6oCf1fJLIct4N/P9ngqAT0d1/shxdw9bzHMHVcWsUIKwNx46bbmCyB VSF+RgfztNTGzKhdHH6szNw6RL7dsW21XJ+9x7jZYP2uXph2beTbbLWfmIZZsn9RhX4n FBW/jB4tcgxn/H8cLZd+gZu1kRN2zy2XX9ql5YuwQMANcGxInNy1h5v6wAbH0tGK1S8A 1gkaYzveEAm3u11HlaMUJMMItI74KVhChukXvOlbpPGrLOYq+jDJXc4tXI7/sMtYuhQ0 6Hxg== X-Gm-Message-State: AOAM531ReE6M7hig0Ytzn0xCg4eGQbbcpEs1vfy24D+rbqTE8rPdiukb UL//FpxAVWTIuB6EOmtx9JClyEoGmgnaJ2nGQ3MXhw== X-Received: by 2002:ac2:4c11:: with SMTP id t17mr1269691lfq.260.1601384393349; Tue, 29 Sep 2020 05:59:53 -0700 (PDT) MIME-Version: 1.0 References: <20200914144025.371370-1-fazilyildiran@gmail.com> In-Reply-To: <20200914144025.371370-1-fazilyildiran@gmail.com> From: Linus Walleij Date: Tue, 29 Sep 2020 14:59:42 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB To: Necip Fazil Yildiran Cc: "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , paul@pgazz.com, jeho@cs.utexas.edu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 14, 2020 at 4:41 PM Necip Fazil Yildiran wrote: > When PINCTRL_BCM2835 is enabled and GPIOLIB is disabled, it results in the > following Kbuild warning: > > WARNING: unmet direct dependencies detected for GPIOLIB_IRQCHIP > Depends on [n]: GPIOLIB [=n] > Selected by [y]: > - PINCTRL_BCM2835 [=y] && PINCTRL [=y] && OF [=y] && (ARCH_BCM2835 [=n] || ARCH_BRCMSTB [=n] || COMPILE_TEST [=y]) > > The reason is that PINCTRL_BCM2835 selects GPIOLIB_IRQCHIP without > depending on or selecting GPIOLIB while GPIOLIB_IRQCHIP is subordinate to > GPIOLIB. > > Honor the kconfig menu hierarchy to remove kconfig dependency warnings. > > Fixes: 85ae9e512f43 ("pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP") > Signed-off-by: Necip Fazil Yildiran Patch applied to non-critical fixes, thanks! Yours, Linus Walleij