net: phy/pcs: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Mon, 24 Jul 2023 21:19:05 +0000 (15:19 -0600)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jul 2023 04:55:37 +0000 (21:55 -0700)
commitac3cb6de32b62f08d76109e98e174ce0ebf3c022
tree0b5bf2a362de40c0d785012016ed5524041af567
parentf44a90104ee5aceaf39b5a10787ab34c46c987ba
net: phy/pcs: 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: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230724211905.805665-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/pcs/pcs-rzn1-miic.c
drivers/net/phy/marvell-88x2222.c
drivers/net/phy/mediatek-ge-soc.c