[PATCH] phy: Explicitly include correct DT includes
Marc Kleine-Budde
mkl at pengutronix.de
Sun Jul 16 10:08:13 PDT 2023
On 14.07.2023 11:48:35, Rob Herring wrote:
> 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 at kernel.org>
> ---
> drivers/phy/phy-can-transceiver.c | 1 +
Acked-by: Marc Kleine-Budde <mkl at pengutronix.de> # for drivers/phy/phy-can-transceiver.c
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20230716/0ba5b2eb/attachment.sig>
More information about the Linux-rockchip
mailing list