Message ID | 20230823165637.2466480-1-robh@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] ARM: davinci: Drop unused includes | expand |
On Wed, Aug 23, 2023 at 6:57 PM Rob Herring <robh@kernel.org> 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@kernel.org> > --- > 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@linaro.org>
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>
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@kernel.org> --- 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(-)