fsi: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Tue, 18 Jul 2023 20:55:08 +0000 (14:55 -0600)
committerJoel Stanley <joel@jms.id.au>
Wed, 9 Aug 2023 06:10:11 +0000 (15:40 +0930)
commit288f1acf51d9844ce130d69233c2aea7999f69db
tree3dbdde9d711e5f93b15d9e6cdb0cef4c1a67b0fc
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
fsi: 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>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230718205508.1790932-1-robh@kernel.org
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-occ.c
drivers/fsi/fsi-sbefifo.c