Skip to contentSkip to conversation

MIPS: Fixup explicit DT include clean-up

PATCH Applied Rob Herring 2 participants 2 messages Jul 27, 2023 – Jul 28, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Fixup explicit DT include clean-up

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")
---
 arch/mips/lantiq/xway/gptu.c       | 1 +
 arch/mips/pic32/pic32mzda/config.c | 1 +
 2 files changed, 2 insertions(+)
arch/mips/lantiq/xway/gptu.c +1 -0
index e254b108fb9b..8d52001301de 100644
@@ -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>
arch/mips/pic32/pic32mzda/config.c +1 -0
index 6e94ae66eba8..73be5689e0df 100644
@@ -5,6 +5,7 @@
  */
 #include <linux/init.h>
 #include <linux/io.h>
+#include <linux/spinlock.h>
 
 #include <asm/mach-pic32/pic32.h>
 
Signature · 1 line
2.40.1
maintainer Applied
#1 lore raw
Quoted 11 lines · Rob Herring

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")
---
 arch/mips/lantiq/xway/gptu.c       | 1 +
 arch/mips/pic32/pic32mzda/config.c | 1 +
 2 files changed, 2 insertions(+)

applied to mips-next.

Thomas.

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