ARM: omap2: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Thu, 20 Jul 2023 17:27:43 +0000 (11:27 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 31 Jul 2023 06:40:38 +0000 (09:40 +0300)
commit1047e2142ebfe3bb88d0c2470de6f437050c7a54
tree7e72dcbdf971a6e0c2c383f83362b9991aaf4e8d
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
ARM: omap2: 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.

Signed-off-by: Rob Herring <robh@kernel.org>
Message-ID: <20230720172743.2918601-1-robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/omap4-common.c