ARM: mvebu: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Mon, 17 Jul 2023 22:54:56 +0000 (16:54 -0600)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sat, 12 Aug 2023 15:00:12 +0000 (17:00 +0200)
commita2773f3d69f6d498fad0fdaac7d3b407ed8f1e61
tree7cac620974bed0cd85d39d9fe9335563d1d297db
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
ARM: mvebu: 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: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/mach-mvebu/kirkwood.c
arch/arm/mach-mvebu/pmsu.c