Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp498829pxx; Wed, 28 Oct 2020 09:41:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaMazgduLp73FSZSJoafPzg4Pc30l56ATFA3oIRRbO+/KOfYB+ztSQ7ACJKAwjkuNQke1A X-Received: by 2002:a17:907:212d:: with SMTP id qo13mr8309797ejb.288.1603903305480; Wed, 28 Oct 2020 09:41:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603903305; cv=none; d=google.com; s=arc-20160816; b=Rf5IW6Puiw2U4TkqWxGfrORrWtDX1Zmz+X6aKM66e9Htyp0Q6Fnd2ZCVKjQGY30P5V UdXUcAC6BVHrHt7A+ufia2Uu+tU4bH+Uiw7lY9daw9nSWjvSygVOG3R/ajks3XCx2xKe s4G2cgrqvxaLRneeuaqWOnZdF/5oM5jgxpg2/L+g0VkEu/Wf6Znkuk6YTjeU3Y1dRgKS 6JSBJFtgSUIVYBWmFgWt7cilj2fRnnwbzzIALq2y3CyMz40RwxVG/jbnUIT8dae9TES8 OhC5V/ZSGoBCUqSmO4WvvFgTZXga+IHdeGbFdQdKjb1+uDUCsjHP/9KF8qHB0CSrImWP +OpA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3dMptE0YKbD4pjJwHRXjbOUbIwl0M8aCQ5XvYR+BsNQ=; b=Ue8F+mKVjVUo6D3Yca9GPNVqmgzdTAz9oSxDzi+pHIpVXhKHQzs8nTnscrLfRMM8+d dwrGRJ1Qf6gPaxVOPNy9RclXtCVMfbm1fzAm2vVCVHUxhvqP1vGeQz25oWCrXEEM8vTv k9LFKAIHqyBZTrBOpiN/iErc6IRV2uckUdvby6rPriHxfrtCLOgHV5jX7krKBYnOIL1Q pjkcHrUAg1jE+/WO6RT4gG4tRMOmCY7zKwnB1FaAu+Li/mjanhXAAUXRwbdyjQPGLS1N vqt1hUkq38L1MUNFYll9curOV2TrMZxaM0hEuuabIGFMNVfQmr/H1qh3nqwHy3KFAbNx a3bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mkV83U4A; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs17si4061011ejb.543.2020.10.28.09.41.21; Wed, 28 Oct 2020 09:41:45 -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=@kernel.org header.s=default header.b=mkV83U4A; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1818232AbgJ0RS0 (ORCPT + 99 others); Tue, 27 Oct 2020 13:18:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:56336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1781527AbgJ0Ozs (ORCPT ); Tue, 27 Oct 2020 10:55:48 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A0F262071A; Tue, 27 Oct 2020 14:55:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603810547; bh=mK95Y5EpJLO5QnvBvmW3V/40l56fS/jzkZVuuRNb4VY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mkV83U4AuYCHr8raPeMjx5myHX7nsJeZLipGtDQjpAhi8buD5RUmTsW+akUs2Oq13 oQhqeNKJkt5j+5Lgq4IPqFFHGoCrJnYxASnD/FA8TjDz6SqQEvYek18nm3EYmQZqw8 rq9s2QGby7RGGkoofn0UlG9LW51cxZvIeYCGfjqI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Necip Fazil Yildiran , Linus Walleij , Sasha Levin Subject: [PATCH 5.8 146/633] pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB Date: Tue, 27 Oct 2020 14:48:09 +0100 Message-Id: <20201027135529.541903479@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Necip Fazil Yildiran [ Upstream commit 513034d8b089b9a49dab57845aee70e830fe7334 ] 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 Link: https://lore.kernel.org/r/20200914144025.371370-1-fazilyildiran@gmail.com Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/bcm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig index dcf7df797af75..0ed14de0134cf 100644 --- a/drivers/pinctrl/bcm/Kconfig +++ b/drivers/pinctrl/bcm/Kconfig @@ -23,6 +23,7 @@ config PINCTRL_BCM2835 select PINMUX select PINCONF select GENERIC_PINCONF + select GPIOLIB select GPIOLIB_IRQCHIP default ARCH_BCM2835 || ARCH_BRCMSTB help -- 2.25.1