linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 29/39] MIPS: vr41xx: Add header file path prefix
@ 2020-03-30  9:00 bibo mao
  0 siblings, 0 replies; only message in thread
From: bibo mao @ 2020-03-30  9:00 UTC (permalink / raw)
  To: Thomas Bogendoerfer, Jiaxun Yang, Huacai Chen; +Cc: linux-mips, linux-kernel

Remove header files from arch/mips/include/asm/mach-vr41xx
to arch/mips/vr41xx/include/mach

Signed-off-by: bibo mao <maobibo@loongson.cn>
---
 arch/mips/Kconfig                                                | 1 +
 arch/mips/vr41xx/Platform                                        | 2 +-
 arch/mips/vr41xx/include/mach/cpu-feature-overrides.h            | 2 ++
 arch/mips/vr41xx/include/mach/ide.h                              | 2 ++
 arch/mips/vr41xx/include/mach/ioremap.h                          | 2 ++
 arch/mips/{include/asm/mach-vr41xx => vr41xx/include/mach}/irq.h | 0
 arch/mips/vr41xx/include/mach/kernel-entry-init.h                | 2 ++
 arch/mips/vr41xx/include/mach/kmalloc.h                          | 2 ++
 arch/mips/vr41xx/include/mach/mangle-port.h                      | 2 ++
 arch/mips/vr41xx/include/mach/mc146818rtc.h                      | 2 ++
 arch/mips/vr41xx/include/mach/spaces.h                           | 2 ++
 arch/mips/vr41xx/include/mach/topology.h                         | 2 ++
 arch/mips/vr41xx/include/mach/war.h                              | 2 ++
 13 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 arch/mips/vr41xx/include/mach/cpu-feature-overrides.h
 create mode 100644 arch/mips/vr41xx/include/mach/ide.h
 create mode 100644 arch/mips/vr41xx/include/mach/ioremap.h
 rename arch/mips/{include/asm/mach-vr41xx => vr41xx/include/mach}/irq.h (100%)
 create mode 100644 arch/mips/vr41xx/include/mach/kernel-entry-init.h
 create mode 100644 arch/mips/vr41xx/include/mach/kmalloc.h
 create mode 100644 arch/mips/vr41xx/include/mach/mangle-port.h
 create mode 100644 arch/mips/vr41xx/include/mach/mc146818rtc.h
 create mode 100644 arch/mips/vr41xx/include/mach/spaces.h
 create mode 100644 arch/mips/vr41xx/include/mach/topology.h
 create mode 100644 arch/mips/vr41xx/include/mach/war.h

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 9a149e7..30b520c 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -625,6 +625,7 @@ config MACH_VR41XX
 	select SYS_HAS_CPU_VR41XX
 	select SYS_SUPPORTS_MIPS16
 	select GPIOLIB
+	select HAVE_MACH_HEAD_FILES
 
 config NXP_STB220
 	bool "NXP STB220 board"
diff --git a/arch/mips/vr41xx/Platform b/arch/mips/vr41xx/Platform
index b6c8d5c..d21dcc60 100644
--- a/arch/mips/vr41xx/Platform
+++ b/arch/mips/vr41xx/Platform
@@ -2,7 +2,7 @@
 # NEC VR4100 series based machines
 #
 platform-$(CONFIG_MACH_VR41XX)	+= vr41xx/common/
-cflags-$(CONFIG_MACH_VR41XX)	+= -I$(srctree)/arch/mips/include/asm/mach-vr41xx
+cflags-$(CONFIG_MACH_VR41XX)	+= -I$(srctree)/arch/mips/vr41xx/include
 
 #
 # CASIO CASSIPEIA E-55/65 (VR4111)
diff --git a/arch/mips/vr41xx/include/mach/cpu-feature-overrides.h b/arch/mips/vr41xx/include/mach/cpu-feature-overrides.h
new file mode 100644
index 0000000..f3e0e12
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/cpu-feature-overrides.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/cpu-feature-overrides.h>
diff --git a/arch/mips/vr41xx/include/mach/ide.h b/arch/mips/vr41xx/include/mach/ide.h
new file mode 100644
index 0000000..1251c0c
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/ide.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/ide.h>
diff --git a/arch/mips/vr41xx/include/mach/ioremap.h b/arch/mips/vr41xx/include/mach/ioremap.h
new file mode 100644
index 0000000..2369393
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/ioremap.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/ioremap.h>
diff --git a/arch/mips/include/asm/mach-vr41xx/irq.h b/arch/mips/vr41xx/include/mach/irq.h
similarity index 100%
rename from arch/mips/include/asm/mach-vr41xx/irq.h
rename to arch/mips/vr41xx/include/mach/irq.h
diff --git a/arch/mips/vr41xx/include/mach/kernel-entry-init.h b/arch/mips/vr41xx/include/mach/kernel-entry-init.h
new file mode 100644
index 0000000..19b872be
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/kernel-entry-init.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kernel-entry-init.h>
diff --git a/arch/mips/vr41xx/include/mach/kmalloc.h b/arch/mips/vr41xx/include/mach/kmalloc.h
new file mode 100644
index 0000000..4f056db
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/kmalloc.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/kmalloc.h>
diff --git a/arch/mips/vr41xx/include/mach/mangle-port.h b/arch/mips/vr41xx/include/mach/mangle-port.h
new file mode 100644
index 0000000..b9736e3
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/mangle-port.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mangle-port.h>
diff --git a/arch/mips/vr41xx/include/mach/mc146818rtc.h b/arch/mips/vr41xx/include/mach/mc146818rtc.h
new file mode 100644
index 0000000..7284af8
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/mc146818rtc.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/mc146818rtc.h>
diff --git a/arch/mips/vr41xx/include/mach/spaces.h b/arch/mips/vr41xx/include/mach/spaces.h
new file mode 100644
index 0000000..39a4d72
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/spaces.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/spaces.h>
diff --git a/arch/mips/vr41xx/include/mach/topology.h b/arch/mips/vr41xx/include/mach/topology.h
new file mode 100644
index 0000000..86e585b
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/topology.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/topology.h>
diff --git a/arch/mips/vr41xx/include/mach/war.h b/arch/mips/vr41xx/include/mach/war.h
new file mode 100644
index 0000000..5b0422a
--- /dev/null
+++ b/arch/mips/vr41xx/include/mach/war.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm/mach-generic/war.h>
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-30  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30  9:00 [PATCH 29/39] MIPS: vr41xx: Add header file path prefix bibo mao

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).