mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-11 00:37:26 -04: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:
committed by
Robert Marko
parent
42cd486787
commit
c6bbdb6489
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user