ARM: socfpga: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Mon, 17 Jul 2023 22:54:40 +0000 (16:54 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Thu, 20 Jul 2023 19:38:38 +0000 (14:38 -0500)
commit37e2d7d23765c3948e21cb361100f1baeb65f4f3
treebefe8726bfaaade8a6a7df7c7b0dcc9c6ec16374
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
ARM: socfpga: 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 was 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.

A couple of other includes are unused and can be dropped too.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/mach-socfpga/l2_cache.c
arch/arm/mach-socfpga/ocram.c
arch/arm/mach-socfpga/pm.c
arch/arm/mach-socfpga/socfpga.c