soc: mediatek: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Thu, 3 Aug 2023 22:42:59 +0000 (16:42 -0600)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 08:31:01 +0000 (10:31 +0200)
commitd01e0aec6d5082b3efcd3e255e04f1eac49b1abe
tree89ef2729fdea7b5c3327b9e6bce4ef4f5d501ebf
parent96b75c9d4bf251ec76c0a629af893632fae25c32
soc: mediatek: 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.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230803-dt-header-cleanups-for-soc-v2-19-d8de2cc88bff@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/mediatek/mtk-cmdq-helper.c
drivers/soc/mediatek/mtk-devapc.c
drivers/soc/mediatek/mtk-mmsys.c
drivers/soc/mediatek/mtk-mutex.c
drivers/soc/mediatek/mtk-pmic-wrap.c