mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-03 16:04:49 +01:00
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>
This commit is contained in:
parent
42cd486787
commit
c6bbdb6489
1 changed files with 2 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue