[PATCH 3/5] mips: lantiq: xway: sysctrl: export ltq_ebu_membase

Simon Wunderlich sw at simonwunderlich.de
Sat Nov 14 02:06:05 PST 2026


The lantiq-flash driver, which can be built as a module, is about to
read an EBU register with ltq_ebu_r32(), which uses ltq_ebu_membase.
Export it like ebu_lock, so that the module still links.

Signed-off-by: Simon Wunderlich <sw at simonwunderlich.de>
---
 arch/mips/lantiq/xway/sysctrl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
index dd187726e3b2..90902ca3f83a 100644
--- a/arch/mips/lantiq/xway/sysctrl.c
+++ b/arch/mips/lantiq/xway/sysctrl.c
@@ -149,6 +149,7 @@ static u32 pmu_clk_cr_b[] = {
 static void __iomem *pmu_membase;
 void __iomem *ltq_cgu_membase;
 void __iomem *ltq_ebu_membase;
+EXPORT_SYMBOL_GPL(ltq_ebu_membase);
 
 static u32 ifccr = CGU_IFCCR;
 static u32 pcicr = CGU_PCICR;
-- 
2.47.3




More information about the linux-mtd mailing list