can: Explicitly include correct DT includes, part 2
authorRob Herring <robh@kernel.org>
Mon, 24 Jul 2023 21:18:40 +0000 (15:18 -0600)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 28 Jul 2023 06:49:52 +0000 (08:49 +0200)
commit07382e6b68a742f18d57a27fec5fd0c2b0b61b40
tree18f95d96d36ddc8d8a24a2f4c7c18ee11521ed70
parentf131a03de641585669f8d7857dcfeadee6390865
can: Explicitly include correct DT includes, part 2

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/20230724211841.805053-1-robh@kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/bxcan.c
drivers/net/can/ifi_canfd/ifi_canfd.c
drivers/net/can/m_can/m_can.c
drivers/net/can/m_can/m_can.h
drivers/net/can/rcar/rcar_canfd.c
drivers/net/can/sja1000/sja1000_platform.c
drivers/net/can/sun4i_can.c
drivers/net/can/ti_hecc.c