linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MIPS: Fixup explicit DT include clean-up
@ 2023-07-27  1:20 Rob Herring
  2023-07-28  9:48 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2023-07-27  1:20 UTC (permalink / raw)
  To: John Crispin, Thomas Bogendoerfer
  Cc: Geert Uytterhoeven, linux-mips, linux-kernel

Commit 657c45b303f87d77 ("MIPS: Explicitly include correct DT includes")
removed a necessary include by mistake and missed adding an explicit
include of spinlock.h (from of.h -> kobject.h -> spinlock.h).

Fixes: 657c45b303f87d77 ("MIPS: Explicitly include correct DT includes")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Rob Herring <robh@kernel.org>
---
 arch/mips/lantiq/xway/gptu.c       | 1 +
 arch/mips/pic32/pic32mzda/config.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway/gptu.c
index e254b108fb9b..8d52001301de 100644
--- a/arch/mips/lantiq/xway/gptu.c
+++ b/arch/mips/lantiq/xway/gptu.c
@@ -9,6 +9,7 @@
 #include <linux/ioport.h>
 #include <linux/init.h>
 #include <linux/mod_devicetable.h>
+#include <linux/of_irq.h>
 #include <linux/platform_device.h>
 
 #include <lantiq_soc.h>
diff --git a/arch/mips/pic32/pic32mzda/config.c b/arch/mips/pic32/pic32mzda/config.c
index 6e94ae66eba8..73be5689e0df 100644
--- a/arch/mips/pic32/pic32mzda/config.c
+++ b/arch/mips/pic32/pic32mzda/config.c
@@ -5,6 +5,7 @@
  */
 #include <linux/init.h>
 #include <linux/io.h>
+#include <linux/spinlock.h>
 
 #include <asm/mach-pic32/pic32.h>
 
-- 
2.40.1


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

* Re: [PATCH] MIPS: Fixup explicit DT include clean-up
  2023-07-27  1:20 [PATCH] MIPS: Fixup explicit DT include clean-up Rob Herring
@ 2023-07-28  9:48 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2023-07-28  9:48 UTC (permalink / raw)
  To: Rob Herring; +Cc: John Crispin, Geert Uytterhoeven, linux-mips, linux-kernel

On Wed, Jul 26, 2023 at 07:20:28PM -0600, Rob Herring wrote:
> Commit 657c45b303f87d77 ("MIPS: Explicitly include correct DT includes")
> removed a necessary include by mistake and missed adding an explicit
> include of spinlock.h (from of.h -> kobject.h -> spinlock.h).
> 
> Fixes: 657c45b303f87d77 ("MIPS: Explicitly include correct DT includes")
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  arch/mips/lantiq/xway/gptu.c       | 1 +
>  arch/mips/pic32/pic32mzda/config.c | 1 +
>  2 files changed, 2 insertions(+)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

end of thread, other threads:[~2023-07-28  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27  1:20 [PATCH] MIPS: Fixup explicit DT include clean-up Rob Herring
2023-07-28  9:48 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).