Skip to content

Commit 2b4cdb6

Browse files
plappermaulrobimarko
authored andcommitted
realtek: convert mach includes to rtl-otto
Right now the global includes are all named rtl838x. This suggests that they are only for one of the four SoC types (RTL838x aka Maple) required. As we are talking about the Otto platform rename that accordingly. All the drivers have already adapted that some time ago. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: openwrt/openwrt#22005 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent b325e6e commit 2b4cdb6

File tree

18 files changed

+15
-15
lines changed

18 files changed

+15
-15
lines changed

target/linux/realtek/files-6.12/arch/mips/include/asm/mach-rtl838x/ioremap.h renamed to target/linux/realtek/files-6.12/arch/mips/include/asm/mach-rtl-otto/ioremap.h

File renamed without changes.

target/linux/realtek/files-6.12/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h renamed to target/linux/realtek/files-6.12/arch/mips/include/asm/mach-rtl-otto/mach-rtl-otto.h

File renamed without changes.

target/linux/realtek/files-6.12/arch/mips/rtl838x/Makefile renamed to target/linux/realtek/files-6.12/arch/mips/rtl-otto/Makefile

File renamed without changes.

target/linux/realtek/files-6.12/arch/mips/rtl838x/Platform renamed to target/linux/realtek/files-6.12/arch/mips/rtl-otto/Platform

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
22
# Realtek RTL838x SoCs
33
#
4-
cflags-$(CONFIG_MACH_REALTEK_RTL) += -I$(srctree)/arch/mips/include/asm/mach-rtl838x/
4+
cflags-$(CONFIG_MACH_REALTEK_RTL) += -I$(srctree)/arch/mips/include/asm/mach-rtl-otto/
55
load-$(CONFIG_MACH_REALTEK_RTL) += 0xffffffff80100000

target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c renamed to target/linux/realtek/files-6.12/arch/mips/rtl-otto/prom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <asm/smp-ops.h>
1616
#include <linux/smp.h>
1717

18-
#include <mach-rtl83xx.h>
18+
#include <mach-rtl-otto.h>
1919

2020
#define RTL_SOC_BASE ((volatile void *) 0xB8000000)
2121

target/linux/realtek/files-6.12/arch/mips/rtl838x/setup.c renamed to target/linux/realtek/files-6.12/arch/mips/rtl-otto/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <asm/prom.h>
2626
#include <asm/smp-ops.h>
2727

28-
#include "mach-rtl83xx.h"
28+
#include "mach-rtl-otto.h"
2929

3030
extern struct rtl83xx_soc_info soc_info;
3131

target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <linux/platform_device.h>
1313
#include <linux/rhashtable.h>
1414
#include <linux/of_net.h>
15-
#include <asm/mach-rtl838x/mach-rtl83xx.h>
15+
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
1616

1717
#include "rtl83xx.h"
1818

target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <linux/debugfs.h>
44
#include <linux/kernel.h>
5-
#include <asm/mach-rtl838x/mach-rtl83xx.h>
5+
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
66

77
#include "rtl83xx.h"
88

target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <net/dsa.h>
44
#include <linux/etherdevice.h>
55
#include <linux/if_bridge.h>
6-
#include <asm/mach-rtl838x/mach-rtl83xx.h>
6+
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
77

88
#include "rtl83xx.h"
99

target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/qos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <net/dsa.h>
44
#include <linux/delay.h>
5-
#include <asm/mach-rtl838x/mach-rtl83xx.h>
5+
#include <asm/mach-rtl-otto/mach-rtl-otto.h>
66

77
#include "rtl83xx.h"
88

0 commit comments

Comments
 (0)