soc: aspeed: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Thu, 3 Aug 2023 22:42:58 +0000 (16:42 -0600)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 08:31:01 +0000 (10:31 +0200)
commit96b75c9d4bf251ec76c0a629af893632fae25c32
tree8f209a699db27d0c44966ddbb19a976f88db5586
parent5b45759c0b58ade7c6a552fb58f2ce74ebaab053
soc: aspeed: 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/20230803-dt-header-cleanups-for-soc-v2-18-d8de2cc88bff@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/aspeed/aspeed-lpc-snoop.c
drivers/soc/aspeed/aspeed-p2a-ctrl.c
drivers/soc/aspeed/aspeed-uart-routing.c