ARM: 9322/1: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Tue, 22 Aug 2023 22:58:18 +0000 (23:58 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 5 Oct 2023 15:15:42 +0000 (16:15 +0100)
commit3562257b34165bc9553fefbd48a85dc9337c14bb
tree7f043e3e3d004cdeac9adaec6398e8c0e4f92885
parentc0e824661f443b8cab3897006c1bbc69fd0e7bc4
ARM: 9322/1: 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: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/devtree.c
arch/arm/kernel/setup.c