summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-altera-msi.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2022-10-31 10:39:50 -0500
committerBjorn Helgaas <bhelgaas@google.com>2022-11-10 14:53:38 -0600
commit8c50cd059c5cd974da4285af17adf0e38905b25b (patch)
tree9385c47c6644285e0aace6616c9ba40088cf8d6d /drivers/pci/controller/pcie-altera-msi.c
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
downloadlinux-stable-8c50cd059c5cd974da4285af17adf0e38905b25b.tar.gz
linux-stable-8c50cd059c5cd974da4285af17adf0e38905b25b.tar.bz2
linux-stable-8c50cd059c5cd974da4285af17adf0e38905b25b.zip
PCI: altera-msi: Include <linux/irqdomain.h> explicitly
pcie-altera-msi.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-altera-msi.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>. Link: https://lore.kernel.org/r/20221031153954.1163623-2-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/pcie-altera-msi.c')
-rw-r--r--drivers/pci/controller/pcie-altera-msi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/pcie-altera-msi.c b/drivers/pci/controller/pcie-altera-msi.c
index 7b1d3ebc34ec..4366e042e98b 100644
--- a/drivers/pci/controller/pcie-altera-msi.c
+++ b/drivers/pci/controller/pcie-altera-msi.c
@@ -9,6 +9,7 @@
#include <linux/interrupt.h>
#include <linux/irqchip/chained_irq.h>
+#include <linux/irqdomain.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/msi.h>