Message ID | 20221025185147.665365-4-helgaas@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1166347wru; Tue, 25 Oct 2022 12:00:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM685mK1p23MXi7vtx14wNfH+chi3lmZjdI3BR7LVMR4wAHvTEdaRknYfP/Tc7kjcd2cZ0OC X-Received: by 2002:a17:903:22d2:b0:17f:7dea:985f with SMTP id y18-20020a17090322d200b0017f7dea985fmr40579924plg.68.1666724452088; Tue, 25 Oct 2022 12:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666724452; cv=none; d=google.com; s=arc-20160816; b=jO02C3aHxuE9e9VFFFg6etCFYXv+47dIL+hLgded88hLZGU0W3Uorr6nqyUxWspgB7 vn4BbK4DOSjYZbT2vrSYiJz+Ga3z86BQUPAs68dQKVA/z8Zte8wyKsznf7dyCTa80aDl yewFdiJghmdk+zmsq9oNnyZl66BkZ6DU0N9XRBHh8/2D33IobdzuYMu1j54ppgWzwo34 tjmxA3mp7yrJn3EDRN1f530F22PznKSD0mXdGW23qH3BBaJjOsRU1fcw74lpLlqc9YRf Ko7d0beMNhfYkp4Cgf3AYH4W131ZYGf/bJrx5X3SEDEb55lBlb7oLCegfGb44rrwkoJV OzGA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EDB9nG4ZCVpMCLyBtZmsD1CoCEBIq9JapQ7+fpdO9dw=; b=MbOOekiqs0pL6lUkuQKHhNDVAKInL+lTlcfaZk8y27PS8Xc9lxXU7ZlSUIFMsHialK 1pG36GEVOq+mtRs5duQbU//wi8nScyTb1+yzK9vDGvIkXE/IvyPMNuaX8Y9VhUmgPBSf o7KjXV+PQHoa0yT706i86klQXIOvUJTpP07R3u1GX2h2jsScR0QURC4Cw8hsWRMJMyPp V76FwDFaMUHFnv0POQCpm817RqHVgQxogfyLtMbjwRucyJgObKtXi7CQhWbJymkM+sQh YLkv/YyPzT9HcaGOt+d2DDCmqJpSDPVMbWMuiT2VFJgVgbNbcgCCxMRpMCJeFsDH0UpZ dbAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lHtBkObV; 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 s3-20020a17090a440300b0020243dc975bsi12355691pjg.116.2022.10.25.12.00.38; Tue, 25 Oct 2022 12:00:52 -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=lHtBkObV; 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 S232471AbiJYSwO (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Tue, 25 Oct 2022 14:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233052AbiJYSwC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 14:52:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A6511CB70; Tue, 25 Oct 2022 11:52:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 60656B81E86; Tue, 25 Oct 2022 18:52:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C17F5C433C1; Tue, 25 Oct 2022 18:51:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666723919; bh=+ozRyG+/L/xs5vMkn+C6G9WKJtfh+Y8vy5sNTnvobgc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lHtBkObVoFVrLhYC4gn/QUV/dtIAEoOoq4OtZJADIfcNZSGavoUdIulRDBjIYK5mF M4clRpNMn5kFEGJzbJ1v2PJaDb15VBpRbsZiWI1S2TI+da31fCdE38Dp1Y5DTj4NGI qX6xYH/+23SWUNH5d5CfpnmRSSrIlQFbHp9ld4rA1H+4vocz1pDNKPlqAHo8y+Ly2G fEuad0uRxrKE8HcLhnlgbO7mqi8fhBxs8IOHbL5OTl2ImQy6hPuMitRwEQgQP3EdDS 0bFaPSElzGcQaOFqkUEE8LeFg4xz1tW+UjTwyvGySZ1NZvBq1xglPK5vDJ+mup3ud1 ZFyKQGMIWVH7w== From: Bjorn Helgaas <helgaas@kernel.org> To: Lorenzo Pieralisi <lpieralisi@kernel.org> Cc: Kishon Vijay Abraham I <kishon@kernel.org>, Tom Joseph <tjoseph@cadence.com>, Rob Herring <robh@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= <kw@linux.com>, Minghuan Lian <minghuan.Lian@nxp.com>, Mingkai Hu <mingkai.hu@nxp.com>, Roy Zang <roy.zang@nxp.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Linus Walleij <linus.walleij@linaro.org>, Toan Le <toan@os.amperecomputing.com>, Joyce Ooi <joyce.ooi@intel.com>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, Conor Dooley <conor.dooley@microchip.com>, Daire McNamara <daire.mcnamara@microchip.com>, Shawn Lin <shawn.lin@rock-chips.com>, Heiko Stuebner <heiko@sntech.de>, Bharat Kumar Gogada <bharat.kumar.gogada@amd.com>, Michal Simek <michal.simek@amd.com>, bcm-kernel-feedback-list@broadcom.com, linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, Bjorn Helgaas <bhelgaas@google.com> Subject: [PATCH v2 3/4] PCI: mvebu: Include <linux/irqdomain.h> explicitly Date: Tue, 25 Oct 2022 13:51:46 -0500 Message-Id: <20221025185147.665365-4-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025185147.665365-1-helgaas@kernel.org> References: <20221025185147.665365-1-helgaas@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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?1747687259284035139?= X-GMAIL-MSGID: =?utf-8?q?1747687259284035139?= |
Series |
PCI: Remove unnecessary <linux/of_irq.h> includes
|
|
Commit Message
Bjorn Helgaas
Oct. 25, 2022, 6:51 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com> pci-mvebu.c uses irq_domain_add_linear() and related interfaces but relies on <linux/irqdomain.h> but doesn't include it directly; it relies on the fact that <linux/of_irq.h> includes it. Include <linux/irqdomain.h> directly to remove this implicit dependency. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> --- drivers/pci/controller/pci-mvebu.c | 1 + 1 file changed, 1 insertion(+)
Comments
On Tue, 25 Oct 2022 13:51:46 -0500 Bjorn Helgaas <helgaas@kernel.org> wrote: > From: Bjorn Helgaas <bhelgaas@google.com> > > pci-mvebu.c uses irq_domain_add_linear() and related interfaces but relies > on <linux/irqdomain.h> but doesn't include it directly; it relies on the > fact that <linux/of_irq.h> includes it. > > Include <linux/irqdomain.h> directly to remove this implicit dependency. > > Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> > --- > drivers/pci/controller/pci-mvebu.c | 1 + > 1 file changed, 1 insertion(+) Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Thanks! Thomas
diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c index 1ced73726a26..73db99035c2b 100644 --- a/drivers/pci/controller/pci-mvebu.c +++ b/drivers/pci/controller/pci-mvebu.c @@ -13,6 +13,7 @@ #include <linux/delay.h> #include <linux/gpio.h> #include <linux/init.h> +#include <linux/irqdomain.h> #include <linux/mbus.h> #include <linux/slab.h> #include <linux/platform_device.h>