[PATCH v2 06/14] realtek: update mach-rtl83xx.h includes

Sander Vanheule sander at svanheule.net
Sun Dec 12 12:01:28 PST 2021


Include the mach-rtl83xx.h header from the root MIPS asm include
directory. This will allow custom build options to be dropped once
ioremap.h is no longer required.

Co-developed-by: INAGAKI Hiroshi <musashino.open at gmail.com>
Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
Signed-off-by: Sander Vanheule <sander at svanheule.net>
Tested-by: Bjørn Mork <bjorn at mork.no>
---
 target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c        | 2 +-
 target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c       | 2 +-
 .../realtek/files-5.10/drivers/clocksource/timer-rtl9300.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
index 3390c043347e..aea53c545159 100644
--- a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
+++ b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
@@ -19,7 +19,7 @@
 #include <asm/page.h>
 #include <asm/cpu.h>
 
-#include <mach-rtl83xx.h>
+#include <asm/mach-rtl838x/mach-rtl83xx.h>
 
 extern char arcs_cmdline[];
 extern const char __appended_dtb;
diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c b/target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c
index df29b76bbf0f..eed24ef50f59 100644
--- a/target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c
+++ b/target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c
@@ -24,7 +24,7 @@
 #include <asm/prom.h>
 #include <asm/smp-ops.h>
 
-#include "mach-rtl83xx.h"
+#include "asm/mach-rtl838x/mach-rtl83xx.h"
 
 extern struct rtl83xx_soc_info soc_info;
 
diff --git a/target/linux/realtek/files-5.10/drivers/clocksource/timer-rtl9300.c b/target/linux/realtek/files-5.10/drivers/clocksource/timer-rtl9300.c
index 9ab1733fe38c..f749cce64758 100644
--- a/target/linux/realtek/files-5.10/drivers/clocksource/timer-rtl9300.c
+++ b/target/linux/realtek/files-5.10/drivers/clocksource/timer-rtl9300.c
@@ -9,7 +9,7 @@
 #include <linux/sched_clock.h>
 #include "timer-of.h"
 
-#include <mach-rtl83xx.h>
+#include <asm/mach-rtl838x/mach-rtl83xx.h>
 
 /* 
  * Timer registers
-- 
2.33.1




More information about the openwrt-devel mailing list