mailbox: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:47:01 +0000 (11:47 -0600)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 5 Sep 2023 15:10:58 +0000 (10:10 -0500)
commite9803aac5097ac74186b074d3176318fd10ec98c
tree0d9fd1e7db0020a94a12841c3c7a612dc2a60201
parent4aac24c105951fd2d3faeed05f70d4be7af3d26c
mailbox: 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: Jassi Brar <jaswinder.singh@linaro.org>
16 files changed:
drivers/mailbox/arm_mhu.c
drivers/mailbox/arm_mhu_db.c
drivers/mailbox/hi3660-mailbox.c
drivers/mailbox/hi6220-mailbox.c
drivers/mailbox/imx-mailbox.c
drivers/mailbox/mailbox-mpfs.c
drivers/mailbox/mailbox.c
drivers/mailbox/mtk-adsp-mailbox.c
drivers/mailbox/mtk-cmdq-mailbox.c
drivers/mailbox/omap-mailbox.c
drivers/mailbox/platform_mhu.c
drivers/mailbox/rockchip-mailbox.c
drivers/mailbox/sprd-mailbox.c
drivers/mailbox/stm32-ipcc.c
drivers/mailbox/tegra-hsp.c
drivers/mailbox/zynqmp-ipi-mailbox.c