PCI: mvebu: Include <linux/irqdomain.h> explicitly
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 31 Oct 2022 15:39:52 +0000 (10:39 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Nov 2022 20:53:45 +0000 (14:53 -0600)
pci-mvebu.c uses irq_domain_add_linear() and related interfaces but relies
on <linux/irqdomain.h> but doesn't include it directly; it relies on the
fact that <linux/of_irq.h> includes it.

Include <linux/irqdomain.h> directly to remove this implicit dependency.

Link: https://lore.kernel.org/r/20221031153954.1163623-4-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
drivers/pci/controller/pci-mvebu.c

index 1ced737..73db990 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/delay.h>
 #include <linux/gpio.h>
 #include <linux/init.h>
+#include <linux/irqdomain.h>
 #include <linux/mbus.h>
 #include <linux/slab.h>
 #include <linux/platform_device.h>