soc: ti: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:51:56 +0000 (11:51 -0600)
committerNishanth Menon <nm@ti.com>
Tue, 25 Jul 2023 11:26:34 +0000 (06:26 -0500)
commitcdbab28c3728e6c47228585eb6e84669518a1e7d
tree83685f02ad814a441ef114382e25993d5261330d
parent5542c7cfc1082608959b4317ab7c3867b5f4aa7c
soc: ti: 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/20230714175156.4068520-1-robh@kernel.org
Signed-off-by: Nishanth Menon <nm@ti.com>
drivers/soc/ti/k3-ringacc.c
drivers/soc/ti/omap_prm.c
drivers/soc/ti/pruss.c
drivers/soc/ti/ti_sci_inta_msi.c