From patchwork Mon Oct 31 15:39:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13026020 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4DDB3FA3741 for ; Mon, 31 Oct 2022 15:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=9i+7xhoXng/b1CKm+IiIogxWl4pIbaDRzIsp0+Cg2Fo=; b=LWqU+yyK/aCjXF uNCIC7fyLkN8LX0RvUDQJa3j4JjF4nIfMNLcBQKzhuZZmwLmDMiCtw4VkI8YfZE9NVpmZ3KQL7yoN BpSS8eYgbn2tLUYMMjqF+RTmSc0xPjW2rG/lnGTDcRAabCTlrSUUyAkb7PzTHjJasoNSvugrQQTfl lFxseej6ax5IHFqP6ffBFXVBGEuocI3CAX1WUTg2MHTN+6uT0MKzSFdXsVRS/wdrqgY9iGq1/pzJ8 xOyXakMJb+kNoQCt/3Gd1mKZccdc2xYa7VT4NlqLyq+2g6nN10KuOalFeZVXB4LD0MaAXcq1Nhzqd wVXXylBVGfWFosPxhMYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opWtT-00Cfgn-W8; Mon, 31 Oct 2022 15:40:08 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opWtP-00Cfeg-IU; Mon, 31 Oct 2022 15:40:05 +0000 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 80FDBB818D6; Mon, 31 Oct 2022 15:40:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9E88C433D6; Mon, 31 Oct 2022 15:39:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667230800; bh=TRH6TIzTeBtUUYfj015oHC/R+NopKv1SaiciTdGHOko=; h=From:To:Cc:Subject:Date:From; b=gBpe/EbWifFcqhZ5BfRCBjri8ndaXtmIESwYRZe0ZJ/9QH9yy43OtvvIPJ84QuRsJ qVblgIXNCeupWoDgfDRLD4sck8pombdDoeizoKGqhqlscyYPs1rJkUfCQG4MdNPZIQ yAf5JPUuETdzsUBeVKU79ABam7BGmVbLXj20/7GmPUPjZ/M2IfEUXZFATexoA4Smaq CQ6K94+0hZWszeCNqHZU7WW8Qj4zVQNZz5DTKAD5rA4KIiJuVJyWaBIznzyfE86ljD FuiFCdMTQRTBI7IxLbavbOxp3k0//rn3wkSegSXlN51xFdxjfPPHNjAIQ6Aj0KX1EF k/xrwa/o+K15A== From: Bjorn Helgaas To: Lorenzo Pieralisi Cc: Kishon Vijay Abraham I , Tom Joseph , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Minghuan Lian , Mingkai Hu , Roy Zang , Thomas Petazzoni , Thierry Reding , Jonathan Hunter , Linus Walleij , Toan Le , Joyce Ooi , Ray Jui , Scott Branden , Conor Dooley , Daire McNamara , Shawn Lin , Heiko Stuebner , Bharat Kumar Gogada , Michal Simek , 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 Subject: [PATCH v3 0/5] PCI: Remove unnecessary includes Date: Mon, 31 Oct 2022 10:39:49 -0500 Message-Id: <20221031153954.1163623-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221031_084003_970765_775ECBAC X-CRM114-Status: UNSURE ( 9.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Bjorn Helgaas Many host controller drivers #include even though they don't need it. Remove the unnecessary #includes. v2: https://lore.kernel.org/r/20221025185147.665365-1-helgaas@kernel.org/ v1: https://lore.kernel.org/r/20221019195452.37606-1-helgaas@kernel.org/ Changes from v2 to v3: - Include explicitly in xgene-msi, which doesn't need itself, but relied on it to include . On x86, this was covered up by the fact that includes , which includes , which includes . But on parisc, is actually asm-generic/msi.h, which does *not* include - Pick up tags from Conor Dooley and Thomas Petazzoni Changes from v1 to v2: - Include explicitly in altera-msi and microchip, which don't need itself, but relied on it to include - Include explicitly in mvebu, which needs both it and Bjorn Helgaas (5): PCI: altera-msi: Include explicitly PCI: microchip: Include explicitly PCI: mvebu: Include explicitly PCI: xgene-msi: Include explicitly PCI: Remove unnecessary includes drivers/pci/controller/cadence/pci-j721e.c | 1 - drivers/pci/controller/dwc/pci-layerscape.c | 1 - drivers/pci/controller/dwc/pcie-armada8k.c | 1 - drivers/pci/controller/dwc/pcie-tegra194.c | 1 - drivers/pci/controller/pci-mvebu.c | 1 + drivers/pci/controller/pci-v3-semi.c | 1 - drivers/pci/controller/pci-xgene-msi.c | 2 +- drivers/pci/controller/pci-xgene.c | 1 - drivers/pci/controller/pcie-altera-msi.c | 2 +- drivers/pci/controller/pcie-iproc-platform.c | 1 - drivers/pci/controller/pcie-iproc.c | 1 - drivers/pci/controller/pcie-microchip-host.c | 2 +- drivers/pci/controller/pcie-rockchip-host.c | 1 - drivers/pci/controller/pcie-xilinx-cpm.c | 1 - drivers/pci/controller/pcie-xilinx-nwl.c | 1 - 15 files changed, 4 insertions(+), 14 deletions(-)