Re: [PATCH v2] genpd: Explicitly include correct DT includes

From: Jernej Škrabec
Date: Wed Aug 23 2023 - 15:11:54 EST


Dne sreda, 23. avgust 2023 ob 19:04:37 CEST je Rob Herring napisal(a):
> The DT of_device.h and of_platform.h date back to the separate
> of_platform_bus_type before it was 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@xxxxxxxxxx>
> ---
> v2: Previously sent for drivers/soc/. Gathered up files which got moved
> to genpd to new patch.
> ---
> drivers/genpd/mediatek/mtk-pm-domains.c | 2 +-
> drivers/genpd/mediatek/mtk-scpsys.c | 2 +-
> drivers/genpd/sunxi/sun20i-ppu.c | 2 +-

for sun20i-ppu:
Acked-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>

Best regards,
Jernej