Message ID | 20221025185147.665365-3-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 l7csp1166512wru; Tue, 25 Oct 2022 12:01:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ltlHe8ezFmp4c8dz90Zhab0tFizVg/DJBff2Kq/le+aydzHGhZ9Tjl6mqre8oOzQna6aU X-Received: by 2002:a17:90b:3890:b0:20a:9ab0:6fa2 with SMTP id mu16-20020a17090b389000b0020a9ab06fa2mr83554758pjb.49.1666724467526; Tue, 25 Oct 2022 12:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666724467; cv=none; d=google.com; s=arc-20160816; b=0b0ixDKiJaCP7b96xL+vaGbgMA1Q0VjPWWPmo9WrJq8NQliXxm785yjDvavpVKnk6F wU3Qh9BEEDNtmV7t5c3W5H1Dz0W02Pte/hUeXMXLQYiNeCHjOKvlRZQk+xRb1wRW1adC aL0B4tF10vsCkAe+rVVOLveoLcWev2HSeFx8NFBLDxsG/z21YOGqRlScev3ycPeRpoW8 eklFLCsWtgfsyhy4qJhQ26IO5vvSHt/+fw8x/5OyBVpGRccjdV7kpH0A5bk8qL6fRfkz 713ggaOS9YyNHpUHwn7aualL43esP/ONX9Bt4GQLSxm/w1ZZ51FBSHDH2JaIbWbR5fK1 yTGw== 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=fGdnpynNA3TunDWmmB0lyNPVkCUW3UB+cCSJm7TJ4W8=; b=P4yqxvH+oF9luzQjHZjDWQNwM01lAnxDCWdiFEmYvHgRMdrBIhefsI8Sl+djRpYy+3 +NPa+yjUHJEbS1MoE9RU/43jy3+w32TrRipM9AQSf63hA5Pe77AbzpUyUk9M9K68Qtf2 /Ekp0SP1EUjZ0IWHY8I5CnYLhAjhDvTDOQ83ju9Dw0DgNKRm4TmQDrszTWTzLXTSDdfr WtjvdCHtG5nH/m6J6Ne+tWdcONotxkSxIUQj8LcTTEircGWYUqpwFDwk/6iNyYPCWvr5 HVpRFjxN8+9/UobllPKPbSn+YJpV0TCl319ZmkBT+AhJXjy74WONmVsVjvnlLwqDKUew awEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rw8vTMAJ; 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 q3-20020a17090311c300b001789a178e33si4736744plh.428.2022.10.25.12.00.53; Tue, 25 Oct 2022 12:01:07 -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=Rw8vTMAJ; 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 S233081AbiJYSwH (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Tue, 25 Oct 2022 14:52:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233022AbiJYSwB (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 14:52:01 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D235611D992; Tue, 25 Oct 2022 11:51:59 -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 84E5CB81E81; Tue, 25 Oct 2022 18:51:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0986C433D6; Tue, 25 Oct 2022 18:51:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666723917; bh=F248mcLTvmzVsBq/X1m/ocM22o9h6YtGlwDEshOxlPY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rw8vTMAJJn48s4bvfO6Bdgr2bmmMcPtUVeGHnWLqabdStTnd84O2cNJCdnah3qblM WWpP5rdddCb3KLJ1CK0CWJ4PaKwIDvaQgNg1S+Azmg5MP9wmEha2ab7BpGjTiswfK8 F+H6+jHCPFq534N8LGUozPZtN0VoOnG6QKwu9ibleMESoVzSlKmEQOgCOLDTM2sgMO emwtLiDmnnlDhNnhup24CEx2x/RqPl04Vwjx/3TBkx1VOAlMqlofAQF+/sCnKf7jFk IShCcyXKF18kUnbyvkOmFVv+Zpofd3m/ZPKx7+Q4Z2A2dDvxY5oDryockcgW7lUc+B UuXJ+QAYliQFQ== 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 2/4] PCI: microchip: Include <linux/irqdomain.h> explicitly Date: Tue, 25 Oct 2022 13:51:45 -0500 Message-Id: <20221025185147.665365-3-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?1747687275368395720?= X-GMAIL-MSGID: =?utf-8?q?1747687275368395720?= |
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> pcie-microchip-host.c uses irq_domain_add_linear() and related interfaces, so it needs <linux/irqdomain.h> but doesn't include it directly; it relies on the fact that <linux/of_irq.h> includes it. But pcie-microchip-host.c *doesn't* need <linux/of_irq.h> itself. Include <linux/irqdomain.h> directly to remove this implicit dependency so a future patch can drop <linux/of_irq.h>. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> --- drivers/pci/controller/pcie-microchip-host.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/pci/controller/pcie-microchip-host.c b/drivers/pci/controller/pcie-microchip-host.c index 7263d175b5ad..57b2a62f52c8 100644 --- a/drivers/pci/controller/pcie-microchip-host.c +++ b/drivers/pci/controller/pcie-microchip-host.c @@ -9,6 +9,7 @@ #include <linux/clk.h> #include <linux/irqchip/chained_irq.h> +#include <linux/irqdomain.h> #include <linux/module.h> #include <linux/msi.h> #include <linux/of_address.h>