summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-qcom-mpm.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-qcom-mpm.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-qcom-mpm.c')
-rw-r--r--drivers/irqchip/irq-qcom-mpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-qcom-mpm.c b/drivers/irqchip/irq-qcom-mpm.c
index d30614661eea..7124565234a5 100644
--- a/drivers/irqchip/irq-qcom-mpm.c
+++ b/drivers/irqchip/irq-qcom-mpm.c
@@ -14,7 +14,7 @@
#include <linux/mailbox_client.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_device.h>
+#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_domain.h>
#include <linux/slab.h>