reset: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:49:37 +0000 (11:49 -0600)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 28 Jul 2023 15:36:20 +0000 (17:36 +0200)
commitbad8a8afe19f43641a15a9540c56f80f1de50f63
treee38c76a6b3874663b024c63be26ee553ecdfa972
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
reset: 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: Damien Le Moal <dlemoal@kernel.org>
Acked-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Link: https://lore.kernel.org/r/20230714174939.4063667-1-robh@kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
15 files changed:
drivers/reset/hisilicon/hi6220_reset.c
drivers/reset/hisilicon/reset-hi3660.c
drivers/reset/reset-imx7.c
drivers/reset/reset-intel-gw.c
drivers/reset/reset-k210.c
drivers/reset/reset-meson-audio-arb.c
drivers/reset/reset-meson.c
drivers/reset/reset-microchip-sparx5.c
drivers/reset/reset-mpfs.c
drivers/reset/reset-qcom-aoss.c
drivers/reset/reset-qcom-pdc.c
drivers/reset/reset-simple.c
drivers/reset/reset-uniphier-glue.c
drivers/reset/reset-uniphier.c
drivers/reset/reset-zynqmp.c