Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2515144pxb; Mon, 18 Jan 2021 21:52:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjVuENg/hPJ1VyfQ1ebD0O9VJTYh9s5xdbjAHvgF8W5dlzHHqZS5Uw74GD2KJOpLj7Ft+K X-Received: by 2002:a17:906:d209:: with SMTP id w9mr1888728ejz.211.1611035557381; Mon, 18 Jan 2021 21:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611035557; cv=none; d=google.com; s=arc-20160816; b=P7NGRipctydhjPGo5WK5R76XjVAl2gfxntrU+dCVCWzc5a2+U/2QPSAQQTJY77yPd8 51yTibSLdLU7jp2DcXKAmLZLqqA8CQjuM9TumbmSevrpyhJey9+7BA3EZ1gAZSz/mWhy iGL+Azf509maX/D4o0puiBQGJttlbJ46bRRGpDNq9kMf23L/EWKM9lBbbUTd5UqjKoBC ILbLCEIVV5/9yDSGZYOz+aokpIKdAWUcu96RoBOac5VbtkLn2lv+R9H37F+lL5DqfUIF qsPJRXtidIO1RcsIsmYo+JMwgDNNYiJI/Tiy+SnhJXRbl1Gf6uKlJgMeliWXkvsIjqsH 17+w== 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=IDJteZLGpl5jFaFEs8wvm4tfskugOjAqMpYM3vOLN5g=; b=cLzenIICiJzHQiNYiyb6XQUDibiSO6syJ4EhOI5EIMnmet2OUT0ET4xOSYWQvG7OSE r3UtG5lc7uUYo8R5v64E3h0QgI5HmjFZx8fDjqnDbLSDfJURalwEFiYNv1aTmpVH9Ujg dLtpGd3HcxxOFQEcO+n9Fp4yIp93pCGxhJ6LZe6A4M7Lv8XJFZZsJAX2/LmKhC/r8nL1 6AU01r9+YfpskaJ8UgNrdGu9ELIN/71saNF+XNwtdJOvHYXOzXl+vRwWvwZsIVqwrwTC AF/9f/ug2ZJGs0nf2qRZUBo8n4xU1X3Jvhajr9q2vMLaM9uRK+5cmT4hd6WMd9g6MT5r PIBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=XikgqOcp; 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 y35si8589894edy.362.2021.01.18.21.51.57; Mon, 18 Jan 2021 21:52:37 -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; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=XikgqOcp; 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 S2394883AbhASDTF (ORCPT + 99 others); Mon, 18 Jan 2021 22:19:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728223AbhASDTD (ORCPT ); Mon, 18 Jan 2021 22:19:03 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 139D1C061575; Mon, 18 Jan 2021 19:18:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=IDJteZLGpl5jFaFEs8wvm4tfskugOjAqMpYM3vOLN5g=; b=XikgqOcpDeKkL/7YUivnWGWWyX KoXul4jcGUyhbk9e9yExzQV1TfN5fNHozm2DOqqRKDxPd+2GEKoAby5cKKo9Caa11aYzgo1C8u9hM 4QTdyfV7QZQMCKpFKnUq3untnI2Vop9cjeDBPjGC4cEehSRv6gseP5crIrB7QzMAVueqrLsdecJoq 9uiTWa8TB68b69/zznJKLtBdIH7CRa8Ed46oxwP+LOWnkngy6HmHqybbuMTWUskSExTOhwbcHGesJ TzlYWB4MKExqN/6AyutOFaFtkk2Ya0Al84JtG7Ui7vrOWQxKGHg/rbCwwKY0UO4dWb2bFaTGtcT78 AzHjOWoA==; Received: from [2601:1c0:6280:3f0::9abc] (helo=merlin.infradead.org) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l1hX9-0008A9-Uo; Tue, 19 Jan 2021 03:18:20 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, Thierry Reding , Greentime Hu , Yash Shah Subject: [PATCH] gpio: sifive: select IRQ_DOMAIN_HIERARCHY rather than depend on it Date: Mon, 18 Jan 2021 19:18:13 -0800 Message-Id: <20210119031813.16980-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the only driver in the kernel source tree that depends on IRQ_DOMAIN_HIERARCHY instead of selecting it. Since it is not a visible Kconfig symbol, depending on it (expecting a user to set/enable it) doesn't make much sense, so change it to select instead of "depends on". Fixes: 96868dce644d ("gpio/sifive: Add GPIO driver for SiFive SoCs") Signed-off-by: Randy Dunlap Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org Cc: Thierry Reding Cc: Greentime Hu Cc: Yash Shah --- drivers/gpio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-next-20210118.orig/drivers/gpio/Kconfig +++ linux-next-20210118/drivers/gpio/Kconfig @@ -521,7 +521,8 @@ config GPIO_SAMA5D2_PIOBU config GPIO_SIFIVE bool "SiFive GPIO support" - depends on OF_GPIO && IRQ_DOMAIN_HIERARCHY + depends on OF_GPIO + select IRQ_DOMAIN_HIERARCHY select GPIO_GENERIC select GPIOLIB_IRQCHIP select REGMAP_MMIO