summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-ti-sci-intr.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 20:46:43 +0300
committerMarc Zyngier <maz@kernel.org>2023-08-21 19:49:11 +0300
commitee07675046389046d501319b08158b20a8902a5e (patch)
treec62a541ea13a07aad62ed4dcf8de9dfa4db54bcd /drivers/irqchip/irq-ti-sci-intr.c
parent70befedaf5b020a08d397e2d6a9c306f0f611cfb (diff)
downloadlinux-ee07675046389046d501319b08158b20a8902a5e.tar.xz
irqchip: Explicitly include correct DT includes
The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230714174645.4058547-1-robh@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-ti-sci-intr.c')
-rw-r--r--drivers/irqchip/irq-ti-sci-intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-ti-sci-intr.c b/drivers/irqchip/irq-ti-sci-intr.c
index 1186f1e431a3..c027cd9e4a69 100644
--- a/drivers/irqchip/irq-ti-sci-intr.c
+++ b/drivers/irqchip/irq-ti-sci-intr.c
@@ -12,9 +12,9 @@
#include <linux/io.h>
#include <linux/irqchip.h>
#include <linux/irqdomain.h>
-#include <linux/of_platform.h>
-#include <linux/of_address.h>
+#include <linux/of.h>
#include <linux/of_irq.h>
+#include <linux/platform_device.h>
#include <linux/soc/ti/ti_sci_protocol.h>
/**