summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-st.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 11:46:43 -0600
committerMarc Zyngier <maz@kernel.org>2023-08-21 17:49:11 +0100
commitee07675046389046d501319b08158b20a8902a5e (patch)
treec62a541ea13a07aad62ed4dcf8de9dfa4db54bcd /drivers/irqchip/irq-st.c
parent70befedaf5b020a08d397e2d6a9c306f0f611cfb (diff)
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-st.c')
-rw-r--r--drivers/irqchip/irq-st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-st.c b/drivers/irqchip/irq-st.c
index 819a12297b58..de71bb350d57 100644
--- a/drivers/irqchip/irq-st.c
+++ b/drivers/irqchip/irq-st.c
@@ -10,7 +10,7 @@
#include <dt-bindings/interrupt-controller/irq-st.h>
#include <linux/err.h>
#include <linux/mfd/syscon.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>