summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/imx_dsp_rproc.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 11:49:33 -0600
committerBjorn Andersson <andersson@kernel.org>2023-07-15 10:35:50 -0700
commit3440d8da79ba983330457b2400b15e7b1b002ac3 (patch)
treefeba7dd33b0ed8086b62c5d674b76235b4af07b3 /drivers/remoteproc/imx_dsp_rproc.c
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
remoteproc: 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> Link: https://lore.kernel.org/r/20230714174935.4063513-1-robh@kernel.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/remoteproc/imx_dsp_rproc.c')
-rw-r--r--drivers/remoteproc/imx_dsp_rproc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/remoteproc/imx_dsp_rproc.c b/drivers/remoteproc/imx_dsp_rproc.c
index d95fa5586189..8fcda9b74545 100644
--- a/drivers/remoteproc/imx_dsp_rproc.c
+++ b/drivers/remoteproc/imx_dsp_rproc.c
@@ -12,8 +12,7 @@
#include <linux/mailbox_client.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
-#include <linux/of_address.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
#include <linux/of_reserved_mem.h>
#include <linux/platform_device.h>
#include <linux/pm_domain.h>