can: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:47:57 +0000 (11:47 -0600)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 19 Jul 2023 06:55:28 +0000 (08:55 +0200)
commit22d8e8d6338d17bc192559dad24d1e45be0f9795
tree54c5af90e01b1b465fe13aad4131755709ea6893
parent09ff091a0a08bdd6f768a32fabf63a97021b88f6
can: 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/all/20230714174757.4060748-1-robh@kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/grcan.c