soc: imx: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:51:33 +0000 (11:51 -0600)
committerShawn Guo <shawnguo@kernel.org>
Wed, 19 Jul 2023 06:45:34 +0000 (14:45 +0800)
commitef2c1c84bcb98b66565facbba8dd32ce797b97eb
tree9cc98c075b9bb236999763bf9cdbcd9b7b3cfd5e
parent0e40e5fe87f11a8d282afc0dacc8c8b4f8a57630
soc: imx: 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: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpcv2.c
drivers/soc/imx/imx8m-blk-ctrl.c
drivers/soc/imx/imx8mp-blk-ctrl.c
drivers/soc/imx/imx93-blk-ctrl.c
drivers/soc/imx/imx93-pd.c