[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <SG2PR01MB2951EBFD4C4EB2A2519FF4199FA79@SG2PR01MB2951.apcprd01.prod.exchangelabs.com>
Date: Thu, 9 Jun 2022 03:28:54 -0700
From: Wang Wenhu <wenhu.wang@...mail.com>
To: gregkh@...uxfoundation.org, christophe.leroy@...roup.eu
Cc: mpe@...erman.id.au, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, Wang Wenhu <wenhu.wang@...mail.com>
Subject: [PATCH 1/2] powerpc:mm: export symbol ioremap_coherent
The function ioremap_coherent may be called by modules such as
fsl_85xx_cache_sram. So export it for access in other modules.
Signed-off-by: Wang Wenhu <wenhu.wang@...mail.com>
---
arch/powerpc/mm/ioremap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/mm/ioremap.c b/arch/powerpc/mm/ioremap.c
index 4f12504fb405..08a00dacef0b 100644
--- a/arch/powerpc/mm/ioremap.c
+++ b/arch/powerpc/mm/ioremap.c
@@ -40,6 +40,7 @@ void __iomem *ioremap_coherent(phys_addr_t addr, unsigned long size)
return iowa_ioremap(addr, size, prot, caller);
return __ioremap_caller(addr, size, prot, caller);
}
+EXPORT_SYMBOL(ioremap_coherent);
void __iomem *ioremap_prot(phys_addr_t addr, unsigned long size, unsigned long flags)
{
--
2.25.1
Powered by blists - more mailing lists