summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Stockhausen2026-02-20 19:44:38 +0000
committerRobert Marko2026-02-23 21:03:02 +0000
commitc6bbdb64897ef3847d42c23d24468593ba6f460a (patch)
tree34355f1ae4af32cd14fbbf5d6761af48e937f48b
parent42cd48678745d5a99720e03595c53230a3c078f9 (diff)
downloadstintel-c6bbdb64897ef3847d42c23d24468593ba6f460a.tar.gz
realtek: mach: export soc_info
We do not want to rely on the soc_info structure. But at the moment it is still referenced in several places. Add an EXPORT() to it. So drivers that need access to this structure can be build as modules. Suggested-by: Balázs Triszka <info@balika011.hu> Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22121 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/realtek/files-6.12/arch/mips/rtl-otto/prom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/realtek/files-6.12/arch/mips/rtl-otto/prom.c b/target/linux/realtek/files-6.12/arch/mips/rtl-otto/prom.c
index 2de9c83770..b0975c51ae 100644
--- a/target/linux/realtek/files-6.12/arch/mips/rtl-otto/prom.c
+++ b/target/linux/realtek/files-6.12/arch/mips/rtl-otto/prom.c
@@ -39,6 +39,8 @@
#define soc_w32(val, reg) writel(val, RTL_SOC_BASE + reg)
struct rtl83xx_soc_info soc_info;
+EXPORT_SYMBOL(soc_info);
+
const void *fdt;
static char rtl_soc_name[16];