Message ID | 20221031153954.1163623-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 l7csp2383861wru; Mon, 31 Oct 2022 08:42:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6IdTenAXkCoWteaqbPfsaDd/hzXhAU9Jx104KRyd2xZ1mQ0qPfFnp/o4QENz/RhVS1jxJ+ X-Received: by 2002:a05:6402:5244:b0:461:d97e:5271 with SMTP id t4-20020a056402524400b00461d97e5271mr14646643edd.227.1667230922283; Mon, 31 Oct 2022 08:42:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667230922; cv=none; d=google.com; s=arc-20160816; b=XUy822QJRe8i3VP597R7DqgBOVfOP9qvhUWbdlGtCEBP6fqBojPZJ0+HOfLLRRYTzJ UWaASHjb1me/JFD//pf0fkI+Nox0vYd/wHu4eaZf2cq0+VJOwLLA4RT6emB/sK+I4RZX js2wZ4PMk0b5caqkvZv+UsfwCwOx0DDAL7hiu2TK0x0FW53tUKvnUMP4ln8YyJ3s3Nfz 980ZX3ASHrnyy6lP1T37m15UB5AS6lIFl4e7SkktU4fSUf/xEwBfAguOpEEombBuBHre OYo4C65RiwBGsTFjTRBd02E7WGUXUkXQDfq30TJd+f6/04rjlgH4Pua2gOv3cbE/sYYd e1Sg== 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=vy/wsdQni4aaFjctHl6HfvDE/XBzNv0Ti+2IF642yOI=; b=DHkCr7GGPMsjch4Bn+NpAOIFhpTOM6UHgxRbc+UqODUdJdbglIYQWBhhfoaU/Co+Yx crFdYuOIlUymQJO9VMjTC77jrz4k8YpH5SM/vTkEMN+n1hEOxWZjN++NgFGVB22rrcww Cb0V+61me4trYI4rsHYsptAGCt+NBDy8lDV4mdUoVQ7AZrcjTsN2zTESr6moSR2tJIbn bgHQSOodg3MWvtanloAFAFLrJUkqY3CNMHqXgLNpOgn9+/HnCu70mit28RMEXvCngP9d LBy8xyi4Vi3KY0yEtpXDSVOCo31vzMrp1QcN5kBOsQqN/xr85/YIkuMZ8QwN/UeMMOoJ 0LtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="oy/IOnLM"; 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 b5-20020a056402084500b004637f0abb77si2825761edz.487.2022.10.31.08.41.38; Mon, 31 Oct 2022 08:42:02 -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="oy/IOnLM"; 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 S231942AbiJaPkV (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 31 Oct 2022 11:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231871AbiJaPkH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Oct 2022 11:40:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB662659C; Mon, 31 Oct 2022 08:40:06 -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 69F25B818F0; Mon, 31 Oct 2022 15:40:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACD48C433D6; Mon, 31 Oct 2022 15:40:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667230804; bh=Ry1yPEx/VrNVXc5mpZkvv9i5ZTht3Zoh5muiCVNjxzA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oy/IOnLMkbQ7kxnquoU/2edARkafOXHPiIJq2OqrpQkGiZgvJexhCdpjG37prwLLg NDs1zg8tIRJwDr4H2monx6M6P8WUjH2T7eQqaJdK09Xcd2VfnZuWzcImqEgbPl1epE wtcqpp0KKL8gbtORGYeoBMBfhHw3ZZyLXzvEEPVY8v8P1GgOvMBS+UX3sP9ySSwaLm NsOrv2PW/Mhv9f+24QK03QLBoS7u+WNhKL9A5ps0SHLGjArc22j4hUnA4LCWzgwVhf yKkEneeNNyULguuHRvrB6p0UvlVwEimpyZJT6DK5dETWRXrdNtSTaeacaQ/l6qRItH 2vzfLen3Rxu9g== 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 v3 2/5] PCI: microchip: Include <linux/irqdomain.h> explicitly Date: Mon, 31 Oct 2022 10:39:51 -0500 Message-Id: <20221031153954.1163623-3-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221031153954.1163623-1-helgaas@kernel.org> References: <20221031153954.1163623-1-helgaas@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.1 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?1748218332008108075?= X-GMAIL-MSGID: =?utf-8?q?1748218332008108075?= |
Series |
PCI: Remove unnecessary <linux/of_irq.h> includes
|
|
Commit Message
Bjorn Helgaas
Oct. 31, 2022, 3:39 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> Reviewed-by: Conor Dooley <conor.dooley@microchip.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>