Re: [PATCH] net: ti/cpsw: Add explicit platform_device.h and of_platform.h includes
From: Jesse Brandeburg
Date: Tue Apr 11 2023 - 11:38:40 EST
On 4/10/2023 4:27 PM, Rob Herring wrote:
> TI CPSW uses of_platform_* functions which are declared in of_platform.h.
> of_platform.h gets implicitly included by of_device.h, but that is going
> to be removed soon. Nothing else depends on of_device.h so it can be
> dropped. of_platform.h also implicitly includes platform_device.h, so
> add an explicit include for it, too.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>