linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] PCI: Remove unnecessary <linux/of_irq.h> includes
@ 2022-10-31 15:39 Bjorn Helgaas
  2022-10-31 15:39 ` [PATCH v3 1/5] PCI: altera-msi: Include <linux/irqdomain.h> explicitly Bjorn Helgaas
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Bjorn Helgaas @ 2022-10-31 15:39 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: Kishon Vijay Abraham I, Tom Joseph, Rob Herring,
	Krzysztof Wilczyński, 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, linux-omap, linux-pci,
	linux-arm-kernel, linux-kernel, linuxppc-dev, linux-tegra,
	linux-riscv, linux-rockchip, Bjorn Helgaas

From: Bjorn Helgaas <bhelgaas@google.com>

Many host controller drivers #include <linux/of_irq.h> 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 <linux/irqdomain.h> explicitly in xgene-msi, which doesn't need
    <linux/of_irq.h> itself, but relied on it to include
    <linux/irqdomain.h>.  On x86, this was covered up by the fact that
    <linux/msi.h> includes <asm/msi.h>, which includes <asm/irqdomain.h>,
    which includes <linux/irqdomain.h>.  But on parisc, <asm/msi.h> is
    actually asm-generic/msi.h, which does *not* include
    <linux/irqdomain.h>
  - Pick up tags from Conor Dooley and Thomas Petazzoni

Changes from v1 to v2:
  - Include <linux/irqdomain.h> explicitly in altera-msi and microchip,
    which don't need <linux/of_irq.h> itself, but relied on it to include
    <linux/irqdomain.h>
  - Include <linux/irqdomain.h> explicitly in mvebu, which needs both it
    and <linux/of_irq.h>

Bjorn Helgaas (5):
  PCI: altera-msi: Include <linux/irqdomain.h> explicitly
  PCI: microchip: Include <linux/irqdomain.h> explicitly
  PCI: mvebu: Include <linux/irqdomain.h> explicitly
  PCI: xgene-msi: Include <linux/irqdomain.h> explicitly
  PCI: Remove unnecessary <linux/of_irq.h> 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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-11 18:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-31 15:39 [PATCH v3 0/5] PCI: Remove unnecessary <linux/of_irq.h> includes Bjorn Helgaas
2022-10-31 15:39 ` [PATCH v3 1/5] PCI: altera-msi: Include <linux/irqdomain.h> explicitly Bjorn Helgaas
2022-10-31 15:39 ` [PATCH v3 2/5] PCI: microchip: " Bjorn Helgaas
2022-10-31 15:39 ` [PATCH v3 3/5] PCI: mvebu: " Bjorn Helgaas
2022-10-31 15:39 ` [PATCH v3 4/5] PCI: xgene-msi: " Bjorn Helgaas
2022-10-31 15:39 ` [PATCH v3 5/5] PCI: Remove unnecessary <linux/of_irq.h> includes Bjorn Helgaas
2022-10-31 16:58   ` Roy Zang
2022-11-10 21:02 ` [PATCH v3 0/5] " Bjorn Helgaas
2022-11-11 18:27 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).