public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bus: vexpress-config: Add explicit of_platform.h include
@ 2023-04-10 23:27 Rob Herring
  2023-04-11 14:28 ` Liviu Dudau
  2023-04-17 12:41 ` Sudeep Holla
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Herring @ 2023-04-10 23:27 UTC (permalink / raw)
  To: Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi
  Cc: linux-kernel, linux-arm-kernel

vexpress-config 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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 drivers/bus/vexpress-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c
index a58ac0c8e282..472a570bd53a 100644
--- a/drivers/bus/vexpress-config.c
+++ b/drivers/bus/vexpress-config.c
@@ -10,7 +10,7 @@
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>
-#include <linux/of_device.h>
+#include <linux/of_platform.h>
 #include <linux/sched/signal.h>
 #include <linux/slab.h>
 #include <linux/vexpress.h>
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] bus: vexpress-config: Add explicit of_platform.h include
  2023-04-10 23:27 [PATCH] bus: vexpress-config: Add explicit of_platform.h include Rob Herring
@ 2023-04-11 14:28 ` Liviu Dudau
  2023-04-11 19:27   ` Rob Herring
  2023-04-17 12:41 ` Sudeep Holla
  1 sibling, 1 reply; 4+ messages in thread
From: Liviu Dudau @ 2023-04-11 14:28 UTC (permalink / raw)
  To: Rob Herring
  Cc: Sudeep Holla, Lorenzo Pieralisi, linux-kernel, linux-arm-kernel

On Mon, Apr 10, 2023 at 06:27:26PM -0500, Rob Herring wrote:
> vexpress-config 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Acked-by: Liviu Dudau <liviu.dudau@arm.com>

I'm expecting Sudeep will pick this one up through his tree, if not please
let me know.

Best regards,
Liviu

> ---
>  drivers/bus/vexpress-config.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/bus/vexpress-config.c b/drivers/bus/vexpress-config.c
> index a58ac0c8e282..472a570bd53a 100644
> --- a/drivers/bus/vexpress-config.c
> +++ b/drivers/bus/vexpress-config.c
> @@ -10,7 +10,7 @@
>  #include <linux/module.h>
>  #include <linux/of.h>
>  #include <linux/platform_device.h>
> -#include <linux/of_device.h>
> +#include <linux/of_platform.h>
>  #include <linux/sched/signal.h>
>  #include <linux/slab.h>
>  #include <linux/vexpress.h>
> -- 
> 2.39.2
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] bus: vexpress-config: Add explicit of_platform.h include
  2023-04-11 14:28 ` Liviu Dudau
@ 2023-04-11 19:27   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2023-04-11 19:27 UTC (permalink / raw)
  To: Liviu Dudau
  Cc: Sudeep Holla, Lorenzo Pieralisi, linux-kernel, linux-arm-kernel

On Tue, Apr 11, 2023 at 03:28:33PM +0100, Liviu Dudau wrote:
> On Mon, Apr 10, 2023 at 06:27:26PM -0500, Rob Herring wrote:
> > vexpress-config 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.
> > 
> > Signed-off-by: Rob Herring <robh@kernel.org>
> 
> Acked-by: Liviu Dudau <liviu.dudau@arm.com>
> 
> I'm expecting Sudeep will pick this one up through his tree, if not please
> let me know.

I have several other drivers/bus/ patches, so I can take this too. Maybe 
drivers/bus/ needs a maintainer...

Rob

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] bus: vexpress-config: Add explicit of_platform.h include
  2023-04-10 23:27 [PATCH] bus: vexpress-config: Add explicit of_platform.h include Rob Herring
  2023-04-11 14:28 ` Liviu Dudau
@ 2023-04-17 12:41 ` Sudeep Holla
  1 sibling, 0 replies; 4+ messages in thread
From: Sudeep Holla @ 2023-04-17 12:41 UTC (permalink / raw)
  To: Liviu Dudau, Lorenzo Pieralisi, Rob Herring
  Cc: Sudeep Holla, linux-kernel, linux-arm-kernel

On Mon, 10 Apr 2023 18:27:26 -0500, Rob Herring wrote:
> vexpress-config 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.
> 

Applied to sudeep.holla/linux (for-next/vexpress), thanks!

[1/1] bus: vexpress-config: Add explicit of_platform.h include
      https://git.kernel.org/sudeep.holla/c/04ebdc354895
--
Regards,
Sudeep


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-17 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 23:27 [PATCH] bus: vexpress-config: Add explicit of_platform.h include Rob Herring
2023-04-11 14:28 ` Liviu Dudau
2023-04-11 19:27   ` Rob Herring
2023-04-17 12:41 ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox