summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-pruss-intc.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-pruss-intc.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-pruss-intc.c')
-rw-r--r--drivers/irqchip/irq-pruss-intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-pruss-intc.c b/drivers/irqchip/irq-pruss-intc.c
index ee69e8d83b9a..0f64ecb9b1f4 100644
--- a/drivers/irqchip/irq-pruss-intc.c
+++ b/drivers/irqchip/irq-pruss-intc.c
@@ -17,7 +17,7 @@
#include <linux/irqchip/chained_irq.h>
#include <linux/irqdomain.h>
#include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
/*