Re: [PATCH v2] ARM: davinci: Drop unused includes

From: Bartosz Golaszewski
Date: Thu Aug 24 2023 - 03:45:12 EST


On Wed, Aug 23, 2023 at 6:57 PM Rob Herring <robh@xxxxxxxxxx> wrote:
>
> of_platform.h include is not needed, so drop it. It implicitly includes
> of.h (for now) which is needed.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> Arnd, Here's one more that slipped thru the cracks. Please take
> directly.
>
> v2: Fix subject to be 'davinci' not 'keystone'
> ---
> arch/arm/mach-davinci/pdata-quirks.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-davinci/pdata-quirks.c b/arch/arm/mach-davinci/pdata-quirks.c
> index b8b5f1a5e092..b5b5c7bda61e 100644
> --- a/arch/arm/mach-davinci/pdata-quirks.c
> +++ b/arch/arm/mach-davinci/pdata-quirks.c
> @@ -5,7 +5,7 @@
> * Copyright (C) 2016 BayLibre, Inc
> */
> #include <linux/kernel.h>
> -#include <linux/of_platform.h>
> +#include <linux/of.h>
>
> #include <media/i2c/tvp514x.h>
> #include <media/i2c/adv7343.h>
> --
> 2.40.1
>

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>